aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 4c25d132ec..9198cb564b 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -33,12 +33,7 @@
DECLARE_SINGLETON(OSystem);
-template <>
-OSystem *Common::Singleton<OSystem>::makeInstance() {
- return OSystem::createSystem();
-}
-
-OSystem *OSystem::createSystem() {
+OSystem *OSystem::makeInstance() {
// Attention: Do not call parseGraphicsMode() here, nor any other function
// which needs to access the OSystem instance, else you get stuck in an
// endless loop.