We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92cd9e0 commit d601a9dCopy full SHA for d601a9d
mutex_protected.h
@@ -73,7 +73,7 @@ class [[nodiscard]] mutex_locked {
73
74
mutex_locked(mutex_locked &&m) noexcept
75
requires std::move_constructible<G>
76
- : v(std::exchange(m.v, nullptr)), guard(std::move(m.guard)) {}
+ : v(std::exchange(m.v, nullptr)), g(std::move(m.g)) {}
77
78
// Needed for use with `std::condition_variable_any`, ie if you are using a
79
// different mutex type.
0 commit comments