From 2298e37b59c390f90ad47fb84395aa952a89394e Mon Sep 17 00:00:00 2001 From: Yuri Date: Sat, 17 Oct 2020 20:31:49 -0700 Subject: [PATCH] Eliminate the need for bool operator>(unsigned long x1, const T x2) This comparison operator was required in only one place. Change this place to use operator> between T and T instead, like in most other places. --- exprtk.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exprtk.hpp b/exprtk.hpp index fcd68fd..56cb2da 100644 --- a/exprtk.hpp +++ b/exprtk.hpp @@ -24489,7 +24489,7 @@ namespace exprtk } } - if (vec_initilizer_list.size() > vector_size) + if (T(vec_initilizer_list.size()) > vector_size) { set_error( make_error(parser_error::e_syntax,