mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-11 11:47:41 -05:00
Add nodiscard to sync-helpers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user