aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-05-04 16:52:52 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-05-04 16:52:52 +0100
commit5b5032522b89ccd2f05379bd4577ee20d92cf391 (patch)
treea3b0ea49090e687dcf57175e07328d07b8c95d44
parent854a5c7722041c3c37ac68eca357bac225e58b88 (diff)
downloadgcc-5b5032522b89ccd2f05379bd4577ee20d92cf391.zip
gcc-5b5032522b89ccd2f05379bd4577ee20d92cf391.tar.gz
gcc-5b5032522b89ccd2f05379bd4577ee20d92cf391.tar.bz2
Fix reference to wrong class in comment
* include/std/system_error (error_category): Fix comment. From-SVN: r270877
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/include/std/system_error2
2 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e517c15..694739f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2019-05-04 Jonathan Wakely <jwakely@redhat.com>
+ * include/std/system_error (error_category): Fix comment.
+
PR libstdc++/90299
* src/c++17/fs_ops.cc (absolute(const path&)): Report an error if the
argument is an empty path.
diff --git a/libstdc++-v3/include/std/system_error b/libstdc++-v3/include/std/system_error
index 768edda..3685348 100644
--- a/libstdc++-v3/include/std/system_error
+++ b/libstdc++-v3/include/std/system_error
@@ -77,7 +77,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/** Abstract base class for types defining a category of error codes.
*
* An error category defines a context that give meaning to the integer
- * stored in an `error_code` or `error_category` object. For example,
+ * stored in an `error_code` or `error_condition` object. For example,
* the standard `errno` constants such a `EINVAL` and `ENOMEM` are
* associated with the "generic" category and other OS-specific error
* numbers are associated with the "system" category, but a user-defined