Skip to content

Commit

Permalink
NULL: Fix compiler error when using NullMutexManager
Browse files Browse the repository at this point in the history
The compiler error fixed (when trying to set the _mutexManager) is:
error: ‘MutexManager’ is an inaccessible base of ‘NullMutexManager’
  • Loading branch information
criezy committed Feb 19, 2012
1 parent f89bfcc commit f6b8fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/mutex/null/null-mutex.h
Expand Up @@ -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) {}
Expand Down

0 comments on commit f6b8fec

Please sign in to comment.