From 9bf6d770a6e36a61502a0c8f20bb64d2f56dfd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pecka?= <tomaspecka@gmail.com> Date: Sat, 30 Nov 2013 14:52:43 +0100 Subject: [PATCH] alib set<Rule> comparsion fix --- alib/src/grammar/Rule.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alib/src/grammar/Rule.cpp b/alib/src/grammar/Rule.cpp index 1e6a422404..8113b2ca37 100644 --- a/alib/src/grammar/Rule.cpp +++ b/alib/src/grammar/Rule.cpp @@ -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; -- GitLab