Skip to content

Commit 674e1b8

Browse files
remove equality check on container
1 parent ce69b54 commit 674e1b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ast/ast.h

-2
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,6 @@ class expr_container {
700700
expr_container(expr* const* pos, expr* const* end) :m_pos(pos), m_end(end) {}
701701
expr_container& operator++() { ++m_pos; return *this; }
702702
expr_container operator++(int) { expr_container tmp = *this; ++(*this); return tmp; }
703-
bool operator==(expr_container const& it) const { return m_pos == it.m_pos; }
704-
bool operator!=(expr_container const& it) const { return m_pos != it.m_pos; }
705703
expr* operator*() const { return *m_pos; }
706704
expr* const* begin() const { return m_pos; }
707705
expr* const* end() const { return m_end; }

0 commit comments

Comments
 (0)