diff options
author | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:49:22 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-09-07 14:49:22 -0400 |
commit | 47c88c433d17948fab1d8e1d76121a72fe5938cb (patch) | |
tree | fbc1dea58a6b28f1af4a9e9b2bc8e3e1d23b2103 /zen/file_path.h | |
parent | Merge branch 'b11.23' into 'master' (diff) | |
download | FreeFileSync-47c88c433d17948fab1d8e1d76121a72fe5938cb.tar.gz FreeFileSync-47c88c433d17948fab1d8e1d76121a72fe5938cb.tar.bz2 FreeFileSync-47c88c433d17948fab1d8e1d76121a72fe5938cb.zip |
add upstream 11.24
Diffstat (limited to 'zen/file_path.h')
-rw-r--r-- | zen/file_path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/file_path.h b/zen/file_path.h index 4a85514b..85af251d 100644 --- a/zen/file_path.h +++ b/zen/file_path.h @@ -40,7 +40,7 @@ std::weak_ordering compareNativePath(const Zstring& lhs, const Zstring& rhs); inline bool equalNativePath(const Zstring& lhs, const Zstring& rhs) { return compareNativePath(lhs, rhs) == std::weak_ordering::equivalent; } -struct LessNativePath { bool operator()(const Zstring& lhs, const Zstring& rhs) const { return std::is_lt(compareNativePath(lhs, rhs)); } }; +struct LessNativePath { bool operator()(const Zstring& lhs, const Zstring& rhs) const { return compareNativePath(lhs, rhs) < 0; } }; //------------------------------------------------------------------------------------------ |