summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2019-11-03 08:07:04 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-01-23 20:55:26 +0100
commitbbd85a495a3576a5ec99cd69b54e983653b38ea4 (patch)
treea9dbc8ebf61179a1ed27f004ab56e767b75bd315 /src/common
parentAddress review comments (diff)
downloadyuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar.gz
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar.bz2
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar.lz
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar.xz
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.tar.zst
yuzu-bbd85a495a3576a5ec99cd69b54e983653b38ea4.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/thread.h b/src/common/thread.h
index 5584c3bf3..2fc071685 100644
--- a/src/common/thread.h
+++ b/src/common/thread.h
@@ -30,7 +30,7 @@ public:
template <class Duration>
bool WaitFor(const std::chrono::duration<Duration>& time) {
- std::unique_lock<std::mutex> lk(mutex);
+ std::unique_lock lk{mutex};
if (!condvar.wait_for(lk, time, [this] { return is_set; }))
return false;
is_set = false;