diff --git a/Machines/PCCompatible/Segments.hpp b/Machines/PCCompatible/Segments.hpp index 9d6a29965..b8b066804 100644 --- a/Machines/PCCompatible/Segments.hpp +++ b/Machines/PCCompatible/Segments.hpp @@ -186,7 +186,9 @@ public: InstructionSet::x86::SegmentRegisterSet descriptors; - auto operator <=>(const Segments &rhs) const = default; + auto operator ==(const Segments &rhs) const { + return descriptors == rhs.descriptors; + } private: void load_real(const Source segment) { diff --git a/Numeric/RegisterSizes.hpp b/Numeric/RegisterSizes.hpp index 80fabb919..ed0e2be45 100644 --- a/Numeric/RegisterSizes.hpp +++ b/Numeric/RegisterSizes.hpp @@ -26,6 +26,9 @@ template union alignas(Full) alignas(Half) Regist auto operator <=>(const RegisterPair &rhs) const { return full <=> rhs.full; } + auto operator ==(const RegisterPair &rhs) const { + return full == rhs.full; + } #if TARGET_RT_BIG_ENDIAN struct { Half high, low; diff --git a/OSBindings/Mac/Clock SignalTests/CPCShakerTests.mm b/OSBindings/Mac/Clock SignalTests/CPCShakerTests.mm index 28939513d..afad2d704 100644 --- a/OSBindings/Mac/Clock SignalTests/CPCShakerTests.mm +++ b/OSBindings/Mac/Clock SignalTests/CPCShakerTests.mm @@ -160,7 +160,7 @@ private: @interface CPCShakerTests : XCTestCase @end -@implementation CPCShakerTests {} +@implementation CPCShakerTests - (void)testCSLPath:(NSString *)path name:(NSString *)name { using namespace Storage::Automation;