Fix compilation on OSX because clang is specific about default constructors not being specified in exprtk

This commit is contained in:
Joseph Lenox 2017-10-22 19:35:10 -05:00
parent a553d6de3d
commit db2369526b

View File

@ -748,10 +748,10 @@ namespace exprtk
namespace details
{
struct unknown_type_tag {};
struct real_type_tag {};
struct complex_type_tag {};
struct int_type_tag {};
struct unknown_type_tag {unknown_type_tag(){} };
struct real_type_tag {real_type_tag(){} };
struct complex_type_tag {complex_type_tag(){} };
struct int_type_tag {int_type_tag(){}};
template <typename T>
struct number_type { typedef unknown_type_tag type; };