From 5b5032522b89ccd2f05379bd4577ee20d92cf391 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 4 May 2019 16:52:52 +0100 Subject: [PATCH] Fix reference to wrong class in comment * include/std/system_error (error_category): Fix comment. From-SVN: r270877 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/include/std/system_error | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2