thread/CriticalSection: remove extra semicolons
This commit is contained in:
parent
84f71cec2c
commit
61b5ab2663
@ -54,11 +54,11 @@ public:
|
|||||||
|
|
||||||
void lock() noexcept {
|
void lock() noexcept {
|
||||||
::EnterCriticalSection(&critical_section);
|
::EnterCriticalSection(&critical_section);
|
||||||
};
|
}
|
||||||
|
|
||||||
bool try_lock() noexcept {
|
bool try_lock() noexcept {
|
||||||
return ::TryEnterCriticalSection(&critical_section) != 0;
|
return ::TryEnterCriticalSection(&critical_section) != 0;
|
||||||
};
|
}
|
||||||
|
|
||||||
void unlock() noexcept {
|
void unlock() noexcept {
|
||||||
::LeaveCriticalSection(&critical_section);
|
::LeaveCriticalSection(&critical_section);
|
||||||
|
Loading…
Reference in New Issue
Block a user