From fc675f77067cf858fefb8b25216231a5b69c63f5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 29 Sep 2005 13:00:23 +0000 Subject: [PATCH] From Marco Jez, fix for gcc build. --- include/osgIntrospection/ReflectionMacros | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/osgIntrospection/ReflectionMacros b/include/osgIntrospection/ReflectionMacros index c6651ea8c..ac6a7eb97 100644 --- a/include/osgIntrospection/ReflectionMacros +++ b/include/osgIntrospection/ReflectionMacros @@ -33,8 +33,8 @@ namespace osgIntrospection template struct is_polymorphic { - class dummy1: public T { ~dummy1(); }; - class dummy2: public T { virtual ~dummy2(); }; + struct dummy1: T { dummy1(); ~dummy1(); }; + struct dummy2: T { dummy2(); virtual ~dummy2(); }; enum { value = sizeof(dummy1) == sizeof(dummy2) }; }; @@ -1596,3 +1596,4 @@ struct BaseTypeConverters #endif +