]> git.mxchange.org Git - simgear.git/commitdiff
Visual Studio fix
authorThomas Geymayer <tomgey@gmail.com>
Thu, 28 Feb 2013 23:33:47 +0000 (00:33 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 28 Feb 2013 23:33:47 +0000 (00:33 +0100)
simgear/nasal/cppbind/Ghost.hxx

index 2d6720977ee1151fe62c46c6d5785c6978343fe4..9c2de3a3a4523114b089d926c4f00b6d3d58ee08 100644 (file)
@@ -374,7 +374,9 @@ namespace nasal
 
         if( setter )
         {
-          typename boost::remove_reference<Param>::type
+          typename boost::remove_const
+            < typename boost::remove_reference<Param>::type
+            >::type
           (*from_nasal_)(naContext, naRef) = &nasal::from_nasal;
 
           // Setter signature: void(naContext, raw_type&, naRef)