diff options
author | Alejandro Marzini | 2010-06-09 03:38:57 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-06-09 03:38:57 +0000 |
commit | 5548548f959f2ddc7ef7250345b804164873c44e (patch) | |
tree | 073a65e75e6976017d4c4ec13c5d553f26adcd6b | |
parent | 4fe0b4e1ad9d44f65cc6c144f1998cbc17913797 (diff) | |
download | scummvm-rg350-5548548f959f2ddc7ef7250345b804164873c44e.tar.gz scummvm-rg350-5548548f959f2ddc7ef7250345b804164873c44e.tar.bz2 scummvm-rg350-5548548f959f2ddc7ef7250345b804164873c44e.zip |
Removed feature methods. Destructor made virtual.
svn-id: r49529
-rw-r--r-- | backends/mutex/default/default-mutex.cpp | 8 | ||||
-rw-r--r-- | backends/mutex/default/default-mutex.h | 7 |
2 files changed, 1 insertions, 14 deletions
diff --git a/backends/mutex/default/default-mutex.cpp b/backends/mutex/default/default-mutex.cpp index 936ede197a..e10e9e8ade 100644 --- a/backends/mutex/default/default-mutex.cpp +++ b/backends/mutex/default/default-mutex.cpp @@ -28,11 +28,3 @@ OSystem::MutexRef DefaultMutexManager::createMutex() { return OSystem::MutexRef(); } - -bool DefaultMutexManager::hasMutexFeature(OSystem::Feature f) { - return false; -} - -bool DefaultMutexManager::getMutexFeatureState(OSystem::Feature f) { - return false; -} diff --git a/backends/mutex/default/default-mutex.h b/backends/mutex/default/default-mutex.h index bd667eba5b..44aa8ee20f 100644 --- a/backends/mutex/default/default-mutex.h +++ b/backends/mutex/default/default-mutex.h @@ -31,12 +31,7 @@ class DefaultMutexManager : Common::NonCopyable { public: - DefaultMutexManager() {} - ~DefaultMutexManager() {} - - bool hasMutexFeature(OSystem::Feature f); - void setMutexFeatureState(OSystem::Feature f, bool enable) {} - bool getMutexFeatureState(OSystem::Feature f); + virtual ~DefaultMutexManager() {} OSystem::MutexRef createMutex(); void lockMutex(OSystem::MutexRef mutex) {} |