diff options
Diffstat (limited to 'src/utils/mutex.h')
-rw-r--r-- | src/utils/mutex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/mutex.h b/src/utils/mutex.h index a97a8d3f8..61129b4a9 100644 --- a/src/utils/mutex.h +++ b/src/utils/mutex.h @@ -61,9 +61,9 @@ private: }; -inline Mutex::Mutex() +inline Mutex::Mutex() : + mMutex(SDL_CreateMutex()) { - mMutex = SDL_CreateMutex(); } inline Mutex::~Mutex() |