Skip to content

Commit d601a9d

Browse files
committed
Fix merge
1 parent 92cd9e0 commit d601a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mutex_protected.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class [[nodiscard]] mutex_locked {
7373

7474
mutex_locked(mutex_locked &&m) noexcept
7575
requires std::move_constructible<G>
76-
: v(std::exchange(m.v, nullptr)), guard(std::move(m.guard)) {}
76+
: v(std::exchange(m.v, nullptr)), g(std::move(m.g)) {}
7777

7878
// Needed for use with `std::condition_variable_any`, ie if you are using a
7979
// different mutex type.

0 commit comments

Comments
 (0)