X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fquicktune.cpp;h=2f9f987bdb039adf78b0131c14326e83d3626b22;hb=58e6d25e033c76dc91aaac18fdeda92ac23fe0e1;hp=ba0e0c6540e08a4fb971244cda6f84d024115248;hpb=497ff1ecd64c8908f988e15ca879824f2781e3fd;p=oweals%2Fminetest.git diff --git a/src/quicktune.cpp b/src/quicktune.cpp index ba0e0c654..2f9f987bd 100644 --- a/src/quicktune.cpp +++ b/src/quicktune.cpp @@ -1,6 +1,6 @@ /* Minetest -Copyright (C) 2012 celeron55, Perttu Ahola +Copyright (C) 2013 celeron55, Perttu Ahola This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -18,8 +18,8 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #include "quicktune.h" -#include -#include +#include "jthread/jmutex.h" +#include "jthread/jmutexautolock.h" #include "util/string.h" std::string QuicktuneValue::getString() @@ -55,7 +55,6 @@ static void makeMutex() { if(!g_mutex){ g_mutex = new JMutex(); - g_mutex->Init(); } }