Commit 791727b7 authored by florent's avatar florent
Browse files

Get rid of warning message

    * src/
parent 8cae8bee
......@@ -142,8 +142,10 @@ initwrap(void)
if (m == NULL)
std::string msg("dynamic_graph.wrap.error");
dynamicgraph::python::error =
PyErr_NewException("dynamic_graph.wrap.error", NULL, NULL);
PyErr_NewException(const_cast<char*>(msg.c_str()), NULL, NULL);
PyModule_AddObject(m, "error", dynamicgraph::python::error);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment