fine-tune

This commit is contained in:
mutouyun 2019-03-25 23:28:49 +08:00
parent c49c15f640
commit 1d2f6d13ea

View File

@ -194,8 +194,8 @@ public:
class non_mutex { class non_mutex {
public: public:
void lock () {} void lock () noexcept {}
void unlock() {} void unlock() noexcept {}
} nm; } nm;
return h.wait_if(nm, std::forward<F>(pred)); return h.wait_if(nm, std::forward<F>(pred));