summaryrefslogtreecommitdiff
path: root/zen/zstring.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-09-07 14:55:03 -0400
committerB. Stack <bgstack15@gmail.com>2022-09-07 14:55:03 -0400
commitb556adb897f18e500bb4d8f89c81c0f0764f1ff2 (patch)
treeb0047c655d52e4e479ceb73c713414f8d0744c38 /zen/zstring.h
parentMerge branch 'b11.24' into 'master' (diff)
downloadFreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.tar.gz
FreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.tar.bz2
FreeFileSync-b556adb897f18e500bb4d8f89c81c0f0764f1ff2.zip
add upstream 11.25
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