thread/CriticalSection: remove extra semicolons

This commit is contained in:
Max Kellermann 2020-03-17 16:57:57 +01:00
parent 84f71cec2c
commit 61b5ab2663

View File

@ -54,11 +54,11 @@ public:
void lock() noexcept {
::EnterCriticalSection(&critical_section);
};
}
bool try_lock() noexcept {
return ::TryEnterCriticalSection(&critical_section) != 0;
};
}
void unlock() noexcept {
::LeaveCriticalSection(&critical_section);