From: Jonathan Wakely Date: Sat, 12 Nov 2016 20:28:50 +0000 (+0000) Subject: * include/std/future (future_error): Fix public typo to private. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13908b44048aaa994e01728e670b0bbef6ab8968;p=gcc.git * include/std/future (future_error): Fix public typo to private. From-SVN: r242340 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 00f6670e106..4cc16b9ffd7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2016-11-12 Jonathan Wakely + + * include/std/future (future_error): Fix public typo to private. + 2016-11-11 Jonathan Wakely * include/std/future (future_error): Make existing constructor diff --git a/libstdc++-v3/include/std/future b/libstdc++-v3/include/std/future index 4d125e8fe9d..cb42830aa9c 100644 --- a/libstdc++-v3/include/std/future +++ b/libstdc++-v3/include/std/future @@ -109,7 +109,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION const error_code& code() const noexcept { return _M_code; } - public: + private: explicit future_error(error_code __ec) : logic_error("std::future_error: " + __ec.message()), _M_code(__ec)