aboutsummaryrefslogtreecommitdiff
path: root/src/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/environment.h')
-rw-r--r--src/environment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/environment.h b/src/environment.h
index ff3942599..4c00ef9e8 100644
--- a/src/environment.h
+++ b/src/environment.h
@@ -34,10 +34,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <queue>
#include <map>
#include <atomic>
+#include <mutex>
#include "irr_v3d.h"
#include "activeobject.h"
#include "util/numeric.h"
-#include "threading/mutex.h"
#include "network/networkprotocol.h" // for AccessDeniedCode
class IGameDef;
@@ -120,7 +120,7 @@ protected:
IGameDef *m_gamedef;
private:
- Mutex m_time_lock;
+ std::mutex m_time_lock;
DISABLE_CLASS_COPY(Environment);
};