Fix warning: enum constant in boolean context [-Wint-in-bool-context]

This commit is contained in:
Serge Aleynikov 2021-01-09 01:23:00 -05:00
parent fe9c77fc5a
commit 87563ebf42
1 changed files with 1 additions and 1 deletions

View File

@ -18062,7 +18062,7 @@ namespace exprtk
) )
return false; return false;
else if ( else if (
generic_function_t::e_rtrn_overload && generic_function_t::e_rtrn_overload == function.rtrn_type &&
std::string::npos != function.parameter_sequence.find_first_not_of("STV*?|:") std::string::npos != function.parameter_sequence.find_first_not_of("STV*?|:")
) )
return false; return false;