From 61b5ab26639d2fd7e7e96ef93b2ba8effb6356fd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 17 Mar 2020 16:57:57 +0100 Subject: [PATCH] thread/CriticalSection: remove extra semicolons --- src/thread/CriticalSection.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thread/CriticalSection.hxx b/src/thread/CriticalSection.hxx index 1a55d3aca..3e311738e 100644 --- a/src/thread/CriticalSection.hxx +++ b/src/thread/CriticalSection.hxx @@ -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);