diff options
Diffstat (limited to 'FreeFileSync/Source/status_handler.h')
-rw-r--r-- | FreeFileSync/Source/status_handler.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/FreeFileSync/Source/status_handler.h b/FreeFileSync/Source/status_handler.h index 7c22f2cd..6bd31b60 100644 --- a/FreeFileSync/Source/status_handler.h +++ b/FreeFileSync/Source/status_handler.h @@ -8,11 +8,6 @@ #define STATUS_HANDLER_H_81704805908341534 #include <vector> -//#include <chrono> -//#include <thread> -//#include <string> -//#include <zen/i18n.h> -//#include <zen/basic_math.h> #include "base/process_callback.h" #include "return_codes.h" @@ -50,8 +45,9 @@ struct ProgressStats { int items = 0; int64_t bytes = 0; + + std::strong_ordering operator<=>(const ProgressStats&) const = default; }; -inline bool operator==(const ProgressStats& lhs, const ProgressStats& rhs) { return lhs.items == rhs.items && lhs.bytes == rhs.bytes; } //common statistics "everybody" needs |