diff --git a/exprtk.hpp b/exprtk.hpp index 9ec4aa1..afb9add 100644 --- a/exprtk.hpp +++ b/exprtk.hpp @@ -2091,12 +2091,12 @@ namespace exprtk clear_short_symbol_luts(); } - inline std::size_t variable_count() + inline std::size_t variable_count() const { return variable_count_; } - inline std::size_t function_count() + inline std::size_t function_count() const { return function_count_; } @@ -2422,7 +2422,6 @@ namespace exprtk private: typedef details::expression_node* expression_ptr; - typedef T type; struct expression_holder {