summaryrefslogtreecommitdiff
path: root/zen/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/i18n.h')
-rw-r--r--zen/i18n.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/i18n.h b/zen/i18n.h
index 3f10ec81..340473f9 100644
--- a/zen/i18n.h
+++ b/zen/i18n.h
@@ -102,7 +102,7 @@ inline
const TranslationHandler*& getTranslationInstance()
{
//avoid static destruction order fiasco: there may be accesses to "getTranslator()" during process shutdown e.g. show message in debug_minidump.cpp!
- //=> use POD instead of a std::unique_ptr<>!!!
+ //=> use POD instead of a std::unique_ptr<>!!!
static const TranslationHandler* inst = nullptr; //external linkage even in header!
return inst;
}
@@ -113,7 +113,7 @@ struct CleanUpTranslationHandler
~CleanUpTranslationHandler()
{
const TranslationHandler*& handler = getTranslationInstance();
- assert(!handler); //clean up at a better time rather than during static destruction! potential MT issues!?
+ assert(!handler); //clean up at a better time rather than during static destruction! potential MT issues!?
delete handler;
handler = nullptr; //getTranslator() may be called even after static objects of this translation unit are destroyed!
}
bgstack15