From 9b623ea3943165fe7efb5e47a0b5b9452c1599e6 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Wed, 9 May 2018 00:09:55 +0200 Subject: 9.8 --- zen/i18n.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'zen/i18n.h') diff --git a/zen/i18n.h b/zen/i18n.h index bb6dbac5..b67a3bb6 100755 --- a/zen/i18n.h +++ b/zen/i18n.h @@ -13,6 +13,7 @@ #include "string_tools.h" #include "format_unit.h" + //minimal layer enabling text translation - without platform/library dependencies! #define ZEN_TRANS_CONCAT_SUB(X, Y) X ## Y @@ -55,7 +56,7 @@ std::shared_ptr getTranslator(); //######################## implementation ############################## -namespace implementation +namespace impl { inline Global& refGlobalTranslationHandler() @@ -69,14 +70,14 @@ Global& refGlobalTranslationHandler() inline std::shared_ptr getTranslator() { - return implementation::refGlobalTranslationHandler().get(); + return impl::refGlobalTranslationHandler().get(); } inline void setTranslator(std::unique_ptr&& newHandler) { - implementation::refGlobalTranslationHandler().set(std::move(newHandler)); + impl::refGlobalTranslationHandler().set(std::move(newHandler)); } -- cgit