re PR libstdc++/64168 (FAIL: 30_threads/async/sync.cc execution test)
PR libstdc++/64168 * include/std/future (_Deferred_state::_M_has_deferred): Fix return. From-SVN: r218321
This commit is contained in:
parent
7fb3968c14
commit
103265d611
@ -1,3 +1,8 @@
|
||||
2014-12-03 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/64168
|
||||
* include/std/future (_Deferred_state::_M_has_deferred): Fix return.
|
||||
|
||||
2014-12-03 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/hashtable.h: Fix whitespace and simplify function
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user