diff options
author | Daniel Wilhelm <daniel@wili.li> | 2016-03-16 21:34:59 +0100 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2016-03-16 21:34:59 +0100 |
commit | 339ed7f63798fb5ccab05fa7fb9d0d95743c9c89 (patch) | |
tree | 214819f601b69bfd32507ca59047dd4d68ed5632 /zen/i18n.h | |
parent | 7.9 (diff) | |
download | FreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.tar.gz FreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.tar.bz2 FreeFileSync-339ed7f63798fb5ccab05fa7fb9d0d95743c9c89.zip |
8.0
Diffstat (limited to 'zen/i18n.h')
-rw-r--r-- | zen/i18n.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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! } |