diff --git a/exprtk.hpp b/exprtk.hpp index b819573..b07d402 100644 --- a/exprtk.hpp +++ b/exprtk.hpp @@ -1962,7 +1962,7 @@ namespace exprtk template inline bool string_to_real(const std::string& s, T& t) { - const typename numeric::details::number_type::type num_type; + typename numeric::details::number_type::type num_type; const char_t* begin = s.data(); const char_t* end = s.data() + s.size();