From 59c06f4d56a857672465c10f26463d36db6e7858 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 3 Apr 2017 18:16:06 +0100 Subject: [PATCH] Fix comments in libstdc++ header and test * include/bits/ios_base.h: Correct comment. * testsuite/util/testsuite_hooks.h: Likewise. From-SVN: r246657 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/include/bits/ios_base.h | 4 ++-- libstdc++-v3/testsuite/util/testsuite_hooks.h | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7657d1489ca..c344310a2c3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-04-03 Jonathan Wakely + * include/bits/ios_base.h: Correct comment. + * testsuite/util/testsuite_hooks.h: Likewise. + * doc/xml/manual/status_cxx2017.xml: Update C++17 status table. * doc/xml/manual/appendix_contributing.xml (contrib.organization): Add directories for debug, parallel and profile headers. diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h index f1ebfccaca5..e5a107db4bc 100644 --- a/libstdc++-v3/include/bits/ios_base.h +++ b/libstdc++-v3/include/bits/ios_base.h @@ -52,8 +52,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // The following definitions of bitmask types are enums, not ints, // as permitted (but not required) in the standard, in order to provide - // better type safety in iostream calls. A side effect is that - // expressions involving them are no longer compile-time constants. + // better type safety in iostream calls. A side effect is that in C++98 + // expressions involving them are not compile-time constants. enum _Ios_Fmtflags { _S_boolalpha = 1L << 0, diff --git a/libstdc++-v3/testsuite/util/testsuite_hooks.h b/libstdc++-v3/testsuite/util/testsuite_hooks.h index 6f064a41c85..c3b902b53fd 100644 --- a/libstdc++-v3/testsuite/util/testsuite_hooks.h +++ b/libstdc++-v3/testsuite/util/testsuite_hooks.h @@ -247,8 +247,8 @@ namespace __gnu_test static unsigned int _M_count; }; - // An class of objects that can be used for validating various - // behaviours and guarantees of containers and algorithms defined in + // A class of objects that can be used for validating various + // behaviors and guarantees of containers and algorithms defined in // the standard library. class copy_tracker { -- 2.30.2