mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2025-07-03 01:15:23 +00:00
fixed std::unique_lock not a member of std
This commit is contained in:
parent
c3a463552f
commit
c5d7369088
@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <shared_mutex>
|
#include <shared_mutex>
|
||||||
|
#include <mutex>
|
||||||
|
|
||||||
// Use ReadLock(m) and WriteLock(m) to lock it.
|
// Use ReadLock(m) and WriteLock(m) to lock it.
|
||||||
using RWMutex = std::shared_mutex;
|
using RWMutex = std::shared_mutex;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user