From 9594db3f6ca3a50b870002636864f35cf1c6eaf9 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 29 Jan 2010 23:57:20 +0100 Subject: fix singleton interface get_instance have to be static, there is no other possibility to create an object --- src/base/language.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/language.hpp b/src/base/language.hpp index 4300a089..3c496ab1 100644 --- a/src/base/language.hpp +++ b/src/base/language.hpp @@ -70,7 +70,7 @@ namespace usdx public: virtual ~Language(); - Language* get_instance(); + static Language* get_instance(); void init(const boost::filesystem::wpath& language_dir); -- cgit v1.2.3