summaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
index 8139fd6d11b..407129199e3 100644
--- a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
@@ -304,7 +304,7 @@ AdaptiveSequencedExecutor::sync()
{
BarrierCompletion barrierCompletion;
{
- auto guard = std::scoped_lock(_mutex);
+ auto guard = std::lock_guard(_mutex);
if (!_barrier.startBarrier(barrierCompletion)) {
return;
}