Equality operator on symbol_table should be const
This commit is contained in:
parent
b3b4cee1c5
commit
455a52922b
|
@ -16732,7 +16732,7 @@ namespace exprtk
|
||||||
return (*this);
|
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_);
|
return (this == &st) || (control_block_ == st.control_block_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue