Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / bindings / lua / simgrid_lua.cpp
index 7a0f6f9..26e9078 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2020. The SimGrid Team.
+/* Copyright (c) 2010-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -85,7 +85,7 @@ static int dump(lua_State* L)
 
         lua_pushvalue(L, -2); /* table key val key */
 
-        XBT_DEBUG("%s", sglua_keyvalue_tostring(L, -1, -2));
+        XBT_DEBUG("%s", sglua_keyvalue_tostring(L, -1, -2).c_str());
       }
 
       lua_settop(L, argc); // Remove everything except the initial arguments