aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorThierry Crozat2012-02-19 18:38:28 +0000
committerThierry Crozat2012-02-19 18:38:28 +0000
commitf6b8fec0f13c739bf48c5b0c01647245fdeaa962 (patch)
treed6c3e89dfa5bfe9b58c256bfae24bfc166af67b4 /backends
parentf89bfcc3b629cdc7bfd8be93d1e4231cf5a6854b (diff)
downloadscummvm-rg350-f6b8fec0f13c739bf48c5b0c01647245fdeaa962.tar.gz
scummvm-rg350-f6b8fec0f13c739bf48c5b0c01647245fdeaa962.tar.bz2
scummvm-rg350-f6b8fec0f13c739bf48c5b0c01647245fdeaa962.zip
NULL: Fix compiler error when using NullMutexManager
The compiler error fixed (when trying to set the _mutexManager) is: error: ‘MutexManager’ is an inaccessible base of ‘NullMutexManager’
Diffstat (limited to 'backends')
-rw-r--r--backends/mutex/null/null-mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/mutex/null/null-mutex.h b/backends/mutex/null/null-mutex.h
index fdb32b241c..7ae10cedb8 100644
--- a/backends/mutex/null/null-mutex.h
+++ b/backends/mutex/null/null-mutex.h
@@ -28,7 +28,7 @@
/**
* Null mutex manager
*/
-class NullMutexManager : MutexManager {
+class NullMutexManager : public MutexManager {
public:
virtual OSystem::MutexRef createMutex() { return OSystem::MutexRef(); }
virtual void lockMutex(OSystem::MutexRef mutex) {}