Fix compilation error
error: assignment of read-only member ‘exprtk::parser<double>::type_checker::default_return_type_’ [build] 24408 | default_return_type_ = return_type; [build] | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
This commit is contained in:
parent
fe9c77fc5a
commit
287fbcf12c
|
@ -24403,9 +24403,9 @@ namespace exprtk
|
||||||
parse_function_prototypes(func_prototypes);
|
parse_function_prototypes(func_prototypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_default_return_type(const std::string& return_type)
|
void set_default_return_type(const return_type_t return_type)
|
||||||
{
|
{
|
||||||
default_return_type_ = return_type;
|
const_cast<return_type_t&>(default_return_type_) = return_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool verify(const std::string& param_seq, std::size_t& pseq_index)
|
bool verify(const std::string& param_seq, std::size_t& pseq_index)
|
||||||
|
|
Loading…
Reference in New Issue