]> git.mxchange.org Git - simgear.git/commitdiff
cppbind: Fix SGPath from_nasal_helper
authorThomas Geymayer <tomgey@gmail.com>
Thu, 28 Feb 2013 22:46:55 +0000 (23:46 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Thu, 28 Feb 2013 22:46:55 +0000 (23:46 +0100)
simgear/nasal/cppbind/from_nasal.cxx

index d1e48eaac87650a926af5b968a12cf0b3127a194..bed08e42f7b5b3848400f81059074f4a4e13c7e1 100644 (file)
@@ -56,7 +56,8 @@ namespace nasal
     return std::string(naStr_data(na_str), naStr_len(na_str));
   }
 
-  SGPath from_nasal_helper(naContext c, naRef ref, SGPath*)
+  //----------------------------------------------------------------------------
+  SGPath from_nasal_helper(naContext c, naRef ref, const SGPath*)
   {
       naRef na_str = naStringValue(c, ref);
       return SGPath(std::string(naStr_data(na_str), naStr_len(na_str)));