Add nodiscard to sync-helpers

This commit is contained in:
WarmUpTill 2024-05-18 01:18:44 +02:00 committed by WarmUpTill
parent d2749f29b0
commit ced36e2b5b

View File

@ -5,8 +5,8 @@
namespace advss {
EXPORT std::mutex *GetMutex();
EXPORT std::lock_guard<std::mutex> LockContext();
EXPORT std::unique_lock<std::mutex> *GetLoopLock();
[[nodiscard]] EXPORT std::mutex *GetMutex();
[[nodiscard]] EXPORT std::lock_guard<std::mutex> LockContext();
[[nodiscard]] EXPORT std::unique_lock<std::mutex> *GetLoopLock();
} // namespace advss