Equality operator on symbol_table should be const

This commit is contained in:
Martin 2018-11-27 16:09:40 +00:00
parent b3b4cee1c5
commit 455a52922b
1 changed files with 1 additions and 1 deletions

View File

@ -16732,7 +16732,7 @@ namespace exprtk
return (*this);
}
inline bool operator==(const symbol_table<T>& st)
inline bool operator==(const symbol_table<T>& st) const
{
return (this == &st) || (control_block_ == st.control_block_);
}