From d54614fd6455d07a217dd09544d35b624a39411b Mon Sep 17 00:00:00 2001 From: ptv Date: Mon, 1 Dec 2008 12:13:47 +0000 Subject: [PATCH] Remove compilation warning --- src/SMESH_I/SMESH_PythonDump.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2