mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/GUARD_RETURN): correct typo (#3743)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <mutex>
|
||||
|
||||
#define RETURN_GUARD(mutex, retval) if (!mutex.try_lock()) \
|
||||
#define GUARD_RETURN(mutex, retval) if (!mutex.try_lock()) \
|
||||
return retval; \
|
||||
std::lock_guard<decltype(mutex)> guard(mutex, std::adopt_lock)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user