One more fix for old gcc.
This commit is contained in:
parent
c1f09034e0
commit
9260bea850
@ -79,9 +79,10 @@ get_pointer(T ptr)
|
|||||||
// this version.
|
// this version.
|
||||||
# define SG_GET_TEMPLATE_MEMBER(type, member) &member
|
# define SG_GET_TEMPLATE_MEMBER(type, member) &member
|
||||||
|
|
||||||
// With old g++ on Jenkins (21.07.2014), ADL for boost::static_pointer_cast
|
// With old g++ on Jenkins (21.07.2014), ADL for static_pointer_cast does not
|
||||||
// does not work.
|
// work.
|
||||||
using boost::static_pointer_cast;
|
using boost::static_pointer_cast;
|
||||||
|
using osg::static_pointer_cast;
|
||||||
#else
|
#else
|
||||||
// VS (2008, 2010, ... ?) only allow this version.
|
// VS (2008, 2010, ... ?) only allow this version.
|
||||||
# define SG_GET_TEMPLATE_MEMBER(type, member) &type::template member
|
# define SG_GET_TEMPLATE_MEMBER(type, member) &type::template member
|
||||||
|
Loading…
Reference in New Issue
Block a user