Transfer computer

This commit is contained in:
Nathan Braswell
2013-06-21 14:16:16 -04:00
parent 66b88cb5d7
commit 20b059ca45
3 changed files with 37 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ const bool State::operator==(const State &other) {
if (remaining.size() != other.remaining.size())
return false;
for (std::vector< ParseRule* >::size_type i = 0; i < remaining.size(); i++) {
if (remaining[i] != other.remaining[i])
if ( *(remaining[i]) != *(other.remaining[i]) )
return false;
}
return true;