]> git.mxchange.org Git - simgear.git/commitdiff
Fix for VS bug
authorThomas Geymayer <tomgey@gmail.com>
Fri, 16 Nov 2012 14:49:43 +0000 (15:49 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Fri, 16 Nov 2012 14:49:43 +0000 (15:49 +0100)
simgear/nasal/cppbind/Ghost.hxx

index ddb2c1f54ac8669fa674cc89eb25f396c20452a5..746be96cfa1990cfa3f00ee10b4f38cecf02cf0d 100644 (file)
@@ -279,7 +279,7 @@ namespace nasal
       bases()
       {
         BaseGhost* base = BaseGhost::getSingletonPtr();
-        base->addDerived( &getTypeFor<BaseGhost> );
+        base->addDerived( &Ghost::getTypeFor<BaseGhost> );
 
         // Replace any getter that is not available in the current class.
         // TODO check if this is the correct behavior of function overriding