From 455a52922b251ba9d627116c15005cd307e64e21 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 27 Nov 2018 16:09:40 +0000 Subject: [PATCH] Equality operator on symbol_table should be const --- exprtk.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exprtk.hpp b/exprtk.hpp index 802955a..355eb4c 100644 --- a/exprtk.hpp +++ b/exprtk.hpp @@ -16732,7 +16732,7 @@ namespace exprtk return (*this); } - inline bool operator==(const symbol_table& st) + inline bool operator==(const symbol_table& st) const { return (this == &st) || (control_block_ == st.control_block_); }