diff options
Diffstat (limited to 'zen/i18n.h')
-rw-r--r-- | zen/i18n.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -99,7 +99,7 @@ std::wstring translate(const std::wstring& singular, const std::wstring& plural, inline -std::unique_ptr<const TranslationHandler>& globalHandler() +std::unique_ptr<const TranslationHandler>& globalTranslationHandler() { static std::unique_ptr<const TranslationHandler> inst; //external linkage even in header! return inst; @@ -108,11 +108,11 @@ std::unique_ptr<const TranslationHandler>& globalHandler() inline -void setTranslator(std::unique_ptr<const TranslationHandler>&& newHandler) { implementation::globalHandler() = std::move(newHandler); } +void setTranslator(std::unique_ptr<const TranslationHandler>&& newHandler) { implementation::globalTranslationHandler() = std::move(newHandler); } inline -const TranslationHandler* getTranslator() { return implementation::globalHandler().get(); } +const TranslationHandler* getTranslator() { return implementation::globalTranslationHandler().get(); } } #endif //I18_N_H_3843489325044253425456 |