From c5d73690887830d2571ac39d01a4be6d9961e33a Mon Sep 17 00:00:00 2001 From: Anonymous-275 Date: Sat, 22 May 2021 14:17:55 +0300 Subject: [PATCH] fixed std::unique_lock not a member of std --- include/RWMutex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/RWMutex.h b/include/RWMutex.h index 5db780e..ee94cf8 100644 --- a/include/RWMutex.h +++ b/include/RWMutex.h @@ -7,6 +7,7 @@ */ #include +#include // Use ReadLock(m) and WriteLock(m) to lock it. using RWMutex = std::shared_mutex;