diff --git a/pgsql/Pgsql_Row.h b/pgsql/Pgsql_Row.h index 9beaf51..de0d4ef 100644 --- a/pgsql/Pgsql_Row.h +++ b/pgsql/Pgsql_Row.h @@ -34,12 +34,12 @@ namespace Pgsql { return *this; } - bool operator==(const const_iterator &rhs) + bool operator==(const const_iterator &rhs) const { return m_row == rhs.m_row && m_col == rhs.m_col; } - bool operator!=(const const_iterator &rhs) + bool operator!=(const const_iterator &rhs) const { return !operator==(rhs); }