diff options
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index c0350bc7a4..8a8cd509fa 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -148,7 +148,7 @@ struct QuantizationInfo * * @return True if the given quantization info is the same. */ - bool operator==(const QuantizationInfo &other) + bool operator==(const QuantizationInfo &other) const { return scale == other.scale && offset == other.offset; } @@ -159,7 +159,7 @@ struct QuantizationInfo * * @return True if the given quantization info is not the same. */ - bool operator!=(const QuantizationInfo &other) + bool operator!=(const QuantizationInfo &other) const { return !(*this == other); } |