Skip to content

Commit

Permalink
Minor refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluehne committed May 24, 2016
1 parent 2bbd28c commit 082235e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/plasp/sas/Value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,8 @@ void Value::printAsSAS(std::ostream &ostream) const

bool operator ==(const Value &value1, const Value &value2)
{
if (value1.sign() != value2.sign())
return false;

if (value1.name() != value2.name())
return false;

return true;
return value1.sign() == value2.sign()
&& value1.name() == value2.name();
}

////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 082235e

Please sign in to comment.