Fix reference to wrong class in comment

* include/std/system_error (error_category): Fix comment.

From-SVN: r270877
This commit is contained in:
Jonathan Wakely 2019-05-04 16:52:52 +01:00 committed by Jonathan Wakely
parent 854a5c7722
commit 5b5032522b
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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