mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
replace boost locks with std
This commit is contained in:
@ -35,7 +35,7 @@ const std::string & Modificator::getName() const
|
||||
|
||||
bool Modificator::isReady()
|
||||
{
|
||||
Lock lock(mx, boost::try_to_lock);
|
||||
Lock lock(mx, std::try_to_lock);
|
||||
if (!lock.owns_lock())
|
||||
{
|
||||
return false;
|
||||
@ -63,7 +63,7 @@ bool Modificator::isReady()
|
||||
|
||||
bool Modificator::isFinished()
|
||||
{
|
||||
Lock lock(mx, boost::try_to_lock);
|
||||
Lock lock(mx, std::try_to_lock);
|
||||
if (!lock.owns_lock())
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user