summaryrefslogtreecommitdiff
path: root/zen/i18n.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-03-16 21:34:59 +0100
committerDaniel Wilhelm <daniel@wili.li>2016-03-16 21:34:59 +0100
commit339ed7f63798fb5ccab05fa7fb9d0d95743c9c89 (patch)
tree214819f601b69bfd32507ca59047dd4d68ed5632 /zen/i18n.h
parent7.9 (diff)
downloadFreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.tar.gz
FreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.tar.bz2
FreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.zip
8.0
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