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.
This commit is contained in:
Yuri 2020-10-17 20:31:49 -07:00
parent d312ba9141
commit 2298e37b59
1 changed files with 1 additions and 1 deletions

View File

@ -24489,7 +24489,7 @@ namespace exprtk
} }
} }
if (vec_initilizer_list.size() > vector_size) if (T(vec_initilizer_list.size()) > vector_size)
{ {
set_error( set_error(
make_error(parser_error::e_syntax, make_error(parser_error::e_syntax,