diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/telemetry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/telemetry.h b/src/common/telemetry.h index 2c945443b..155cf59ff 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); } |