diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-29 11:37:18 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-29 11:37:18 +0100 |
commit | 7ec707927db7e0f9b3e631b34346b9f56be50009 (patch) | |
tree | 2f67719f5fc61f500b354d82deeef9ab646351e6 /src/neighbor | |
parent | 837134daef014d1af3d8dbe63da1229e8c8d6965 (diff) |
lib/nfs/Blocking, neighbor/smbclient: pass std::chrono::duration to Cond::timed_wait()
Diffstat (limited to 'src/neighbor')
-rw-r--r-- | src/neighbor/plugins/SmbclientNeighborPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx index ce076f2fd..95e4dd3fc 100644 --- a/src/neighbor/plugins/SmbclientNeighborPlugin.cxx +++ b/src/neighbor/plugins/SmbclientNeighborPlugin.cxx @@ -251,7 +251,7 @@ SmbclientNeighborExplorer::ThreadFunc() break; // TODO: sleep for how long? - cond.timed_wait(mutex, 10000); + cond.timed_wait(mutex, std::chrono::seconds(10)); } mutex.unlock(); |