summaryrefslogtreecommitdiff
path: root/zen/string_base.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-01-04 16:21:19 +0000
committerB. Stack <bgstack15@gmail.com>2022-01-04 16:21:19 +0000
commit2c8ae2c99308b4f0bf2bb08161829efee43e31ca (patch)
treeb8252ff8a09d9143ed2dc299d082f9d86535c1a2 /zen/string_base.h
parentMerge branch 'b11.15' into 'master' (diff)
parentadd upstream 11.16 (diff)
downloadFreeFileSync-2c8ae2c99308b4f0bf2bb08161829efee43e31ca.tar.gz
FreeFileSync-2c8ae2c99308b4f0bf2bb08161829efee43e31ca.tar.bz2
FreeFileSync-2c8ae2c99308b4f0bf2bb08161829efee43e31ca.zip
Merge branch 'b11.16' into 'master'11.16
add upstream 11.16 See merge request opensource-tracking/FreeFileSync!40
Diffstat (limited to 'zen/string_base.h')
-rw-r--r--zen/string_base.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/zen/string_base.h b/zen/string_base.h
index 5c17fb47..693ce118 100644
--- a/zen/string_base.h
+++ b/zen/string_base.h
@@ -10,7 +10,6 @@
#include <algorithm>
#include <atomic>
#include "string_tools.h"
-#include "legacy_compiler.h" //constinit
//Zbase - a policy based string class optimizing performance and flexibility
@@ -298,6 +297,11 @@ private:
Zbase& operator= (int) = delete; //detect usage errors by creating an intentional ambiguity with "Char"
Zbase& operator+= (int) = delete; //
void push_back (int) = delete; //
+ Zbase (std::nullptr_t) = delete;
+ Zbase(size_t count, std::nullptr_t) = delete;
+ Zbase& operator= (std::nullptr_t) = delete;
+ Zbase& operator+= (std::nullptr_t) = delete;
+ void push_back (std::nullptr_t) = delete;
Char* rawStr_;
};
bgstack15