Add missing != operator, fixing compilation issue with Visual Studio 17.6 together with /std:c++latest (#17860)
This commit is contained in:
parent
b430802d0c
commit
c3a54b0a6e
@ -164,6 +164,15 @@ public:
|
||||
areSameStrings(precisionInfo.name, p.precisionInfo.name);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Inequality operator with Precision object
|
||||
* @param p A value of Precision to compare with
|
||||
* @return `true` if values represent different precisions, `false` otherwise
|
||||
*/
|
||||
bool operator!=(const Precision& p) const noexcept {
|
||||
return !(*this == p);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Equality operator with ePrecision enum value
|
||||
* @param p A value of ePrecision to compare with
|
||||
|
Loading…
Reference in New Issue
Block a user