From: Jonathan Wakely Date: Sat, 4 May 2019 15:52:52 +0000 (+0100) Subject: Fix reference to wrong class in comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b5032522b89ccd2f05379bd4577ee20d92cf391;p=gcc.git Fix reference to wrong class in comment * include/std/system_error (error_category): Fix comment. From-SVN: r270877 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e517c15f639..694739f43eb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2019-05-04 Jonathan Wakely + * 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 768eddaefd1..3685348ee4d 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