diff --git a/include/osgIntrospection/ReflectionMacros b/include/osgIntrospection/ReflectionMacros index 70a6244a5..644547921 100644 --- a/include/osgIntrospection/ReflectionMacros +++ b/include/osgIntrospection/ReflectionMacros @@ -204,14 +204,14 @@ struct BaseTypeConverters #define I_BaseType(x) \ { \ - addBaseType(typeof(x )); \ - BaseTypeConverters::value> btc; \ + addBaseType(typeof( x )); \ + BaseTypeConverters< x , reflected_type, osgIntrospection::is_polymorphic ::value > btc; \ } #define I_VirtualBaseType(x) \ { \ - addBaseType(typeof(x )); \ - BaseTypeConverters btc; \ + addBaseType(typeof( x )); \ + BaseTypeConverters< x, reflected_type, false > btc; \ } #define I_EnumLabel(x) addEnumLabel(x, #x, true);