diff options
Diffstat (limited to 'src/ClientPattern.cc')
-rw-r--r-- | src/ClientPattern.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc index d9469fa..0016ea7 100644 --- a/src/ClientPattern.cc +++ b/src/ClientPattern.cc | |||
@@ -264,7 +264,7 @@ bool ClientPattern::equals(const ClientPattern &pat) const { | |||
264 | Terms::const_iterator it_end = m_terms.end(); | 264 | Terms::const_iterator it_end = m_terms.end(); |
265 | Terms::const_iterator other_it = pat.m_terms.begin(); | 265 | Terms::const_iterator other_it = pat.m_terms.begin(); |
266 | Terms::const_iterator other_it_end = pat.m_terms.end(); | 266 | Terms::const_iterator other_it_end = pat.m_terms.end(); |
267 | for (; it != it_end, other_it != other_it_end; ++it, ++other_it) { | 267 | for (; it != it_end && other_it != other_it_end; ++it, ++other_it) { |
268 | if ((*it)->orig != (*other_it)->orig) | 268 | if ((*it)->orig != (*other_it)->orig) |
269 | return false; | 269 | return false; |
270 | } | 270 | } |