diff options
Diffstat (limited to 'libbutl/builtin.cxx')
-rw-r--r-- | libbutl/builtin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/builtin.cxx b/libbutl/builtin.cxx index 4d6b60d..b13a59a 100644 --- a/libbutl/builtin.cxx +++ b/libbutl/builtin.cxx @@ -2246,7 +2246,7 @@ namespace butl { if (state_ != nullptr) { - unique_lock<mutex> l (state_->mutex); + unique_lock l (state_->mutex); if (!state_->finished) state_->condv.wait (l, [this] {return state_->finished;}); @@ -2261,7 +2261,7 @@ namespace butl { if (state_ != nullptr) { - unique_lock<mutex> l (state_->mutex); + unique_lock l (state_->mutex); if (!state_->finished && !state_->condv.wait_for (l, tm, [this] {return state_->finished;})) |