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:
parent
d312ba9141
commit
2298e37b59
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue