]> git.mxchange.org Git - simgear.git/commitdiff
One more fix for old gcc
authorThomas Geymayer <tomgey@gmail.com>
Thu, 15 Nov 2012 22:31:18 +0000 (23:31 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 15 Nov 2012 22:31:18 +0000 (23:31 +0100)
simgear/nasal/cppbind/Ghost.hxx

index 300db25047b476d7299fbbe85f2a8dc613225814..05c4fd4a442341709e92bcde2f52aeaa387880e7 100644 (file)
@@ -519,7 +519,7 @@ namespace nasal
                  < typename BaseGhost::raw_type,
                    typename Ghost::raw_type
                  >::value
-            && dynamic_cast<const Ghost::raw_type*>(base) != base )
+            && dynamic_cast<const typename Ghost::raw_type*>(base) != base )
           return 0;
 
         // Now check if we can further downcast to one of our derived classes.