From 255e72156138187cf670243872b3d8ddc7da419e Mon Sep 17 00:00:00 2001 From: schoetbi Date: Fri, 1 Mar 2019 12:53:58 +0100 Subject: [PATCH] get_error can be const --- exprtk.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exprtk.hpp b/exprtk.hpp index 5f8cac1..7f25afe 100644 --- a/exprtk.hpp +++ b/exprtk.hpp @@ -20262,7 +20262,7 @@ namespace exprtk return settings_; } - inline parser_error::type get_error(const std::size_t& index) + inline parser_error::type get_error(const std::size_t& index) const { if (index < error_list_.size()) return error_list_[index];