mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-06-22 16:28:57 +00:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user