Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974453b
)
0021014: EDF 1583 SMESH: Improvement of the Python Dumpfor the creation of groups
author
eap
<eap@opencascade.com>
Thu, 7 Jul 2011 14:21:27 +0000
(14:21 +0000)
committer
eap
<eap@opencascade.com>
Thu, 7 Jul 2011 14:21:27 +0000
(14:21 +0000)
In FunctorTypeToString(), return "FT_Undefined" for an invalid input
src/SMESH_I/SMESH_Filter_i.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_Filter_i.cxx
b/src/SMESH_I/SMESH_Filter_i.cxx
index f2ce323edcedaecfb4e68a5890da0a6edb7b40c8..b7c9c8ffb21048307e10863e5863b43484818732 100644
(file)
--- a/
src/SMESH_I/SMESH_Filter_i.cxx
+++ b/
src/SMESH_I/SMESH_Filter_i.cxx
@@
-3792,7
+3792,7
@@
static const char** getFunctNames()
const char* SMESH::FunctorTypeToString(SMESH::FunctorType ft)
{
if ( ft < 0 || ft > SMESH::FT_Undefined )
- return
0
;
+ return
"FT_Undefined"
;
return getFunctNames()[ ft ];
}