aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/system.cpp4
-rw-r--r--common/system.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/common/system.cpp b/common/system.cpp
index e34aeb54d6..6be7775b05 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -109,10 +109,6 @@ void OSystem::fatalError() {
exit(1);
}
-Common::TimerManager *OSystem::getTimerManager() {
- return _timerManager;
-}
-
Common::SaveFileManager *OSystem::getSavefileManager() {
assert(_savefileManager);
return _savefileManager;
diff --git a/common/system.h b/common/system.h
index 9036dcd6e1..6b21ae4b82 100644
--- a/common/system.h
+++ b/common/system.h
@@ -890,7 +890,9 @@ public:
* Return the timer manager singleton. For more information, refer
* to the TimerManager documentation.
*/
- virtual Common::TimerManager *getTimerManager();
+ inline Common::TimerManager *getTimerManager() {
+ return _timerManager;
+ }
/**
* Return the event manager singleton. For more information, refer