summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/base/algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/base/algorithm.h')
-rw-r--r--FreeFileSync/Source/base/algorithm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/FreeFileSync/Source/base/algorithm.h b/FreeFileSync/Source/base/algorithm.h
index 938ac955..7b2f8a84 100644
--- a/FreeFileSync/Source/base/algorithm.h
+++ b/FreeFileSync/Source/base/algorithm.h
@@ -79,8 +79,9 @@ struct FileDescriptor
{
AbstractPath path;
FileAttributes attr;
+
+ std::weak_ordering operator<=>(const FileDescriptor&) const = default;
};
-bool operator<(const FileDescriptor& lhs, const FileDescriptor& rhs);
//get native Win32 paths or create temporary copy for SFTP/MTP, etc.
class TempFileBuffer
bgstack15