X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSMDS%2FSMDS_MeshGroup.cxx;h=c41409c70e00e4702b347834f34c838d1cd0dae9;hb=cc85955178440fffe36eef234d759e3c3590248f;hp=80e7c6080496b14e5f4204a5b896f620095f21d5;hpb=4c16067d4281f56bd07d3f92fb63fff9c0c1d169;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_MeshGroup.cxx b/src/SMDS/SMDS_MeshGroup.cxx index 80e7c6080..c41409c70 100644 --- a/src/SMDS/SMDS_MeshGroup.cxx +++ b/src/SMDS/SMDS_MeshGroup.cxx @@ -45,7 +45,7 @@ SMDS_MeshGroup::SMDS_MeshGroup(const SMDS_Mesh * theMesh, const SMDSAbs_ElementType theType) - : SMDS_ElementHolder( theMesh ), myType(theType), myTic(0) + : SMDS_ElementHolder( theMesh ), myType( theType ), myTic( 0 ) { } @@ -69,18 +69,19 @@ void SMDS_MeshGroup::Clear() bool SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem) { // the type of the group is determined by the first element added - if (myElements.empty()) { + if ( myElements.empty() ) { myType = theElem->GetType(); } - else if (theElem->GetType() != myType) { + else if ( theElem->GetType() != myType ) { MESSAGE("SMDS_MeshGroup::Add : Type Mismatch "<GetType()<<"!="<