From 84848f8a28d951a1ceaad928a82578adb55da641 Mon Sep 17 00:00:00 2001 From: smatz Date: Sun, 25 Jan 2009 13:05:58 +0000 Subject: (svn r15266) -Fix (r15159): compilation without threads was broken --- src/thread_none.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/thread_none.cpp b/src/thread_none.cpp index f0863efaf..c8caf8978 100644 --- a/src/thread_none.cpp +++ b/src/thread_none.cpp @@ -12,7 +12,7 @@ } /** Mutex that doesn't do locking because it ain't needed when there're no threads */ -class ThreadMutex_None : ThreadMutex { +class ThreadMutex_None : public ThreadMutex { public: virtual void BeginCritical() {} virtual void EndCritical() {} @@ -20,5 +20,5 @@ public: /* static */ ThreadMutex *ThreadMutex::New() { - return new ThreadMutex_None; + return new ThreadMutex_None(); } -- cgit v1.2.3-54-g00ecf