diff options
author | B. Stack <bgstack15@gmail.com> | 2021-06-12 09:59:08 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-06-12 09:59:23 -0400 |
commit | fc71e66e5186fb75206290deca2b9a6cfbefa9ac (patch) | |
tree | b8076aea9d6e6408500ea8925ff233c2159a220b /zen/string_base.h | |
parent | Merge branch '11.10' into 'master' (diff) | |
download | FreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.tar.gz FreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.tar.bz2 FreeFileSync-fc71e66e5186fb75206290deca2b9a6cfbefa9ac.zip |
add upstream 11.11
Diffstat (limited to 'zen/string_base.h')
-rw-r--r-- | zen/string_base.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/string_base.h b/zen/string_base.h index f0899433..5c17fb47 100644 --- a/zen/string_base.h +++ b/zen/string_base.h @@ -10,7 +10,7 @@ #include <algorithm> #include <atomic> #include "string_tools.h" -#include "legacy_compiler.h" //constinit2 +#include "legacy_compiler.h" //constinit //Zbase - a policy based string class optimizing performance and flexibility @@ -209,7 +209,7 @@ private: static_assert(offsetof(GlobalEmptyString, nullTerm) - offsetof(GlobalEmptyString, descr) == sizeof(Descriptor), "no gap!"); static_assert(std::is_trivially_destructible_v<GlobalEmptyString>, "this memory needs to live forever"); - inline static constinit2 GlobalEmptyString globalEmptyString; //constinit: dodge static initialization order fiasco! + inline static constinit GlobalEmptyString globalEmptyString; //constinit: dodge static initialization order fiasco! }; |