From 13908b44048aaa994e01728e670b0bbef6ab8968 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sat, 12 Nov 2016 20:28:50 +0000 Subject: [PATCH] * include/std/future (future_error): Fix public typo to private. From-SVN: r242340 --- libstdc++-v3/ChangeLog | 4 ++++ libstdc++-v3/include/std/future | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.30.2