From 9260bea850ef3fcc280020f261bbee82201ab85b Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Mon, 21 Jul 2014 12:22:33 +0200 Subject: [PATCH] One more fix for old gcc. --- simgear/nasal/cppbind/Ghost.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index 7b0d7fbe..8b0d80c3 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -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 -- 2.39.5