From d4c0f91275fe70fef73b316c36abfb989dfd55b1 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Tue, 6 Jun 2017 16:29:28 +0200 Subject: Use C++11 mutexes only (remove compat code) (#5922) * Fix event LINT & remove default constructor/destructors * remove compat code & modernize autolock header --- src/face_position_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/face_position_cache.cpp') diff --git a/src/face_position_cache.cpp b/src/face_position_cache.cpp index d2883a1b3..e6dd12170 100644 --- a/src/face_position_cache.cpp +++ b/src/face_position_cache.cpp @@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., std::unordered_map> FacePositionCache::cache; -Mutex FacePositionCache::cache_mutex; +std::mutex FacePositionCache::cache_mutex; // Calculate the borders of a "d-radius" cube const std::vector &FacePositionCache::getFacePositions(u16 d) -- cgit v1.2.3