diff options
author | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:55:03 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:55:03 -0400 |
commit | b556adb897f18e500bb4d8f89c81c0f0764f1ff2 (patch) | |
tree | b0047c655d52e4e479ceb73c713414f8d0744c38 /zen/zstring.h | |
parent | Merge branch 'b11.24' into 'master' (diff) | |
download | FreeFileSync-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.h | 5 |
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); |