]> git.mxchange.org Git - simgear.git/commitdiff
One more fix for old gcc.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 21 Jul 2014 10:22:33 +0000 (12:22 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 21 Jul 2014 10:22:33 +0000 (12:22 +0200)
simgear/nasal/cppbind/Ghost.hxx

index 7b0d7fbeed6d9ec764eddf564602fe72088b5d04..8b0d80c3b0c3edf4ea2a9b3261f9452bd02070a0 100644 (file)
@@ -79,9 +79,10 @@ get_pointer(T ptr)
   // this version.
 # define SG_GET_TEMPLATE_MEMBER(type, member) &member
 
-  // With old g++ on Jenkins (21.07.2014), ADL for boost::static_pointer_cast
-  // does not work.
+  // With old g++ on Jenkins (21.07.2014), ADL for static_pointer_cast does not
+  // work.
   using boost::static_pointer_cast;
+  using osg::static_pointer_cast;
 #else
   // VS (2008, 2010, ... ?) only allow this version.
 # define SG_GET_TEMPLATE_MEMBER(type, member) &type::template member