aboutsummaryrefslogtreecommitdiffstats
path: root/common/threads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/threads.cpp')
-rw-r--r--common/threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/threads.cpp b/common/threads.cpp
index 52c61ac4..19a6bbf0 100644
--- a/common/threads.cpp
+++ b/common/threads.cpp
@@ -79,7 +79,7 @@ semaphore::~semaphore()
void semaphore::post()
{
- if UNLIKELY(!ReleaseSemaphore(static_cast<HANDLE>(mSem), 1, nullptr))
+ if(!ReleaseSemaphore(static_cast<HANDLE>(mSem), 1, nullptr))
throw std::system_error(std::make_error_code(std::errc::value_too_large));
}