projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f8cfb4
)
libstdc++: Fix error in experimental::strand
author
Jonathan Wakely
<jwakely@redhat.com>
Mon, 26 Oct 2020 21:00:06 +0000
(21:00 +0000)
committer
Jonathan Wakely
<jwakely@redhat.com>
Mon, 26 Oct 2020 21:00:06 +0000
(21:00 +0000)
libstdc++-v3/ChangeLog:
* include/experimental/executor (strand::_State): Fix thinko.
libstdc++-v3/include/experimental/executor
patch
|
blob
|
history
diff --git
a/libstdc++-v3/include/experimental/executor
b/libstdc++-v3/include/experimental/executor
index 45e813f6747e93c89152f9082fbc6fd3387e681a..462a4b24b16b69a766f74f859a46e5cd0cc569d4 100644
(file)
--- a/
libstdc++-v3/include/experimental/executor
+++ b/
libstdc++-v3/include/experimental/executor
@@
-1602,8
+1602,8
@@
inline namespace v1
{
#if defined(_GLIBCXX_HAS_GTHREADS)
bool
- running_in_this_thread() const
- { return std::this_thread::get_id() == _M_
state->_M_
running_on; }
+ running_in_this_thread() const
noexcept
+ { return std::this_thread::get_id() == _M_running_on; }
std::thread::id _M_running_on;
#else