Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

telemetry: Make operator== and operator!= const member functions of Field

Lioncash2df4be6f253f
diff --git a/src/common/telemetry.h b/src/common/telemetry.h
index 2c945443b8..155cf59ffb 100644
--- a/src/common/telemetry.h
+++ b/src/common/telemetry.h
@@ -84,11 +84,11 @@ public:
return value;
}
- inline bool operator==(const Field<T>& other) {
+ bool operator==(const Field& other) const {
return (type == other.type) && (name == other.name) && (value == other.value);
}
- inline bool operator!=(const Field<T>& other) {
+ bool operator!=(const Field& other) const {
return !(*this == other);
}