Commit 61b5ab26 authored by Max Kellermann's avatar Max Kellermann

thread/CriticalSection: remove extra semicolons

parent 84f71cec
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment