]> git.mxchange.org Git - simgear.git/commitdiff
Hopefully fixing windows build.
authorThomas Geymayer <tomgey@gmail.com>
Wed, 4 Jun 2014 10:17:00 +0000 (12:17 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Wed, 4 Jun 2014 10:17:00 +0000 (12:17 +0200)
simgear/nasal/cppbind/Ghost.hxx

index deb3ed2cadb462085a3a6dec454069c06f2bac66..8e0eda0df8af11ef395989da7f2a2d63639090fd 100644 (file)
@@ -67,7 +67,7 @@ inline T* get_pointer(osg::observer_ptr<T> const& p)
 # define SG_GET_TEMPLATE_MEMBER(type, member) &member
 #else
   // VS (2008, 2010, ... ?) only allow this version.
-# define SG_GET_TEMPLATE_MEMBER(type, member) &type::member
+# define SG_GET_TEMPLATE_MEMBER(type, member) &type::template member
 #endif
 
 /**