From: redi Date: Wed, 3 Dec 2014 16:09:21 +0000 (+0000) Subject: PR libstdc++/64168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=760287521d820a13111df7108fefa68886075f85;p=thirdparty%2Fgcc.git PR libstdc++/64168 * include/std/future (_Deferred_state::_M_has_deferred): Fix return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218321 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 35cfa804e958..9a519138f91f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2014-12-03 Jonathan Wakely + + PR libstdc++/64168 + * include/std/future (_Deferred_state::_M_has_deferred): Fix return. + 2014-12-03 Jonathan Wakely * include/bits/hashtable.h: Fix whitespace and simplify function diff --git a/libstdc++-v3/include/std/future b/libstdc++-v3/include/std/future index 60c2e4eb6d93..157ceb3bffbb 100644 --- a/libstdc++-v3/include/std/future +++ b/libstdc++-v3/include/std/future @@ -1606,7 +1606,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // Caller should check whether the state is ready first, because this // function will return true even after the deferred function has run. - virtual bool _M_has_deferred() const { true; } + virtual bool _M_has_deferred() const { return true; } }; // Common functionality hoisted out of the _Async_state_impl template.