diff options
Diffstat (limited to 'src/output/OutputState.cxx')
-rw-r--r-- | src/output/OutputState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/OutputState.cxx b/src/output/OutputState.cxx index 981bb024a..a2dfc84e2 100644 --- a/src/output/OutputState.cxx +++ b/src/output/OutputState.cxx @@ -43,7 +43,7 @@ audio_output_state_save(BufferedOutputStream &os, { for (unsigned i = 0, n = outputs.Size(); i != n; ++i) { const AudioOutput &ao = outputs.Get(i); - const ScopeLock lock(ao.mutex); + const std::lock_guard<Mutex> lock(ao.mutex); os.Format(AUDIO_DEVICE_STATE "%d:%s\n", ao.IsEnabled(), ao.GetName()); |