summaryrefslogtreecommitdiff
path: root/zen/zstring.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-09-07 18:55:24 +0000
committerB. Stack <bgstack15@gmail.com>2022-09-07 18:55:24 +0000
commit1e582c4e99fe08c70c75fef7cd8ed22343253297 (patch)
treeb0047c655d52e4e479ceb73c713414f8d0744c38 /zen/zstring.h
parentMerge branch 'b11.24' into 'master' (diff)
parentadd upstream 11.25 (diff)
downloadFreeFileSync-1e582c4e99fe08c70c75fef7cd8ed22343253297.tar.gz
FreeFileSync-1e582c4e99fe08c70c75fef7cd8ed22343253297.tar.bz2
FreeFileSync-1e582c4e99fe08c70c75fef7cd8ed22343253297.zip
Merge branch 'b11.25' into 'master'11.25
add upstream 11.25 See merge request opensource-tracking/FreeFileSync!48
Diffstat (limited to 'zen/zstring.h')
-rw-r--r--zen/zstring.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/zen/zstring.h b/zen/zstring.h
index 70b9f448..692217c1 100644
--- a/zen/zstring.h
+++ b/zen/zstring.h
@@ -63,10 +63,7 @@ template<> struct std::hash<ZstringNoCase> { size_t operator()(const ZstringNoCa
std::weak_ordering compareNoCase(const Zstring& lhs, const Zstring& rhs);
-inline
-bool equalNoCase(const Zstring& lhs, const Zstring& rhs) { return compareNoCase(lhs, rhs) == std::weak_ordering::equivalent; }
-//note: the "lhs.size() != rhs.size()" short-cut would require two isAsciiString() checks
-//=> generally SLOWER than starting comparison directly during first pass and breaking on first difference!
+bool equalNoCase(const Zstring& lhs, const Zstring& rhs);
//------------------------------------------------------------------------------------------
std::weak_ordering compareNatural(const Zstring& lhs, const Zstring& rhs);
bgstack15