shorten if statement and add brackets

This commit is contained in:
Angelos Mantzaflaris 2017-12-07 23:55:28 +01:00
parent 66a214650b
commit e3e1a17ba5
1 changed files with 1 additions and 1 deletions

View File

@ -17058,7 +17058,7 @@ namespace exprtk
inline bool add_function(const std::string& function_name, ff##NN##_functor function) \
{ \
if (!valid() || !valid_symbol(function_name) || symbol_exists(function_name)) \
{return false;} \
{return false;} \
\
exprtk::ifunction<T>* ifunc = new freefunc##NN(function); \
\