1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

replace boost locks with std

This commit is contained in:
Laserlicht
2025-02-28 15:25:58 +01:00
parent 3fb9260f3b
commit 7dfb499edf
44 changed files with 148 additions and 147 deletions

View File

@@ -63,8 +63,8 @@ protected:
bool finished = false;
mutable std::recursive_mutex externalAccessMutex; //Used to communicate between Modificators
using RecursiveLock = boost::unique_lock<std::recursive_mutex>;
using Lock = boost::unique_lock<boost::shared_mutex>;
using RecursiveLock = std::unique_lock<std::recursive_mutex>;
using Lock = std::unique_lock<boost::shared_mutex>;
private:
virtual void process() = 0;