Minor refactoring.
This commit is contained in:
parent
2bbd28c341
commit
082235eaaf
@ -168,13 +168,8 @@ void Value::printAsSAS(std::ostream &ostream) const
|
|||||||
|
|
||||||
bool operator ==(const Value &value1, const Value &value2)
|
bool operator ==(const Value &value1, const Value &value2)
|
||||||
{
|
{
|
||||||
if (value1.sign() != value2.sign())
|
return value1.sign() == value2.sign()
|
||||||
return false;
|
&& value1.name() == value2.name();
|
||||||
|
|
||||||
if (value1.name() != value2.name())
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user