From: ptv Date: Mon, 1 Dec 2008 12:13:47 +0000 (+0000) Subject: Remove compilation warning X-Git-Tag: Phase8_Part1_16122008~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d54614fd6455d07a217dd09544d35b624a39411b;p=modules%2Fsmesh.git Remove compilation warning --- diff --git a/src/SMESH_I/SMESH_PythonDump.hxx b/src/SMESH_I/SMESH_PythonDump.hxx index e801d44af..e310992a2 100644 --- a/src/SMESH_I/SMESH_PythonDump.hxx +++ b/src/SMESH_I/SMESH_PythonDump.hxx @@ -59,8 +59,8 @@ public: * \brief Return the name of the python file wrapping IDL API * \retval TCollection_AsciiString - The file name */ - static char* SmeshpyName() { return "smesh"; } - static char* GenName() { return "smesh.smesh"; } + static const char* SmeshpyName() { return "smesh"; } + static const char* GenName() { return "smesh.smesh"; } }; namespace SMESH @@ -150,8 +150,8 @@ namespace SMESH TPythonDump& operator<<(const SMESH::ListOfGroups * theList); - static char* SMESHGenName() { return "smeshgen"; } - static char* MeshEditorName() { return "mesh_editor"; } + static const char* SMESHGenName() { return "smeshgen"; } + static const char* MeshEditorName() { return "mesh_editor"; } /*! * \brief Return marker of long string literal beginning