From 081eba903f96f49bd6cc5bd6b67142b2d95f016b Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Fri, 1 Mar 2013 00:33:47 +0100 Subject: [PATCH] Visual Studio fix --- simgear/nasal/cppbind/Ghost.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/simgear/nasal/cppbind/Ghost.hxx b/simgear/nasal/cppbind/Ghost.hxx index 2d672097..9c2de3a3 100644 --- a/simgear/nasal/cppbind/Ghost.hxx +++ b/simgear/nasal/cppbind/Ghost.hxx @@ -374,7 +374,9 @@ namespace nasal if( setter ) { - typename boost::remove_reference::type + typename boost::remove_const + < typename boost::remove_reference::type + >::type (*from_nasal_)(naContext, naRef) = &nasal::from_nasal; // Setter signature: void(naContext, raw_type&, naRef) -- 2.39.5