diff --git a/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp b/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp index c84c71e78..1329f6f34 100644 --- a/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp +++ b/sdk/core/azure-core/inc/azure/core/internal/extendable_enumeration.hpp @@ -63,7 +63,7 @@ namespace Azure { namespace Core { namespace _internal { * * @param other Another extendable enumeration to be compared. */ - bool operator==(T const& other) const noexcept + bool operator==(ExtendableEnumeration const& other) const noexcept { return m_enumerationValue == other.m_enumerationValue; } @@ -73,7 +73,10 @@ namespace Azure { namespace Core { namespace _internal { * * @param other Another extendable enumeration to be compared. */ - bool operator!=(T const& other) const noexcept { return !operator==(other); } + bool operator!=(ExtendableEnumeration const& other) const noexcept + { + return !operator==(other); + } /** * @brief Return the ExtendableEnumeration string representation.