diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-01-29 23:57:20 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:46 +0100 |
commit | 9594db3f6ca3a50b870002636864f35cf1c6eaf9 (patch) | |
tree | 7dc29d2414c8bca5eb7af166d0f03918e1409e8f | |
parent | 70e20960edfbd1cf0964132605030bf0bc291741 (diff) | |
download | usdx-9594db3f6ca3a50b870002636864f35cf1c6eaf9.tar.gz usdx-9594db3f6ca3a50b870002636864f35cf1c6eaf9.tar.xz usdx-9594db3f6ca3a50b870002636864f35cf1c6eaf9.zip |
fix singleton interface
get_instance have to be static, there is no other possibility to create an object
Diffstat (limited to '')
-rw-r--r-- | src/base/language.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |