Skip to content
Snippets Groups Projects
Commit c25f15ee authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

alib set<Rule> comparsion fix

parent c7a5b35d
No related branches found
No related tags found
No related merge requests found
......@@ -76,6 +76,7 @@ bool Rule::operator <(const Rule& other) const {
return *left < *otherLeft;
}
left++;
otherLeft++;
}
 
list<Symbol>::const_iterator right = rightSide.begin();
......@@ -85,6 +86,7 @@ bool Rule::operator <(const Rule& other) const {
return *right < *otherRight;
}
right++;
otherRight++;
}
 
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment