X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMDS%2FSMDS_MeshGroup.cxx;h=adbde5081d5613c7b2afe9fadfcd529120272b9a;hb=ffd567ddfa3eae0e41303e5c462c3bbe66065e32;hp=25ae25b73b774c32c378805fe36a143c6b015c26;hpb=c3bf92bd87b770fd81631a3853f7f5bb1ac6a4e8;p=modules%2Fsmesh.git diff --git a/src/SMDS/SMDS_MeshGroup.cxx b/src/SMDS/SMDS_MeshGroup.cxx index 25ae25b73..adbde5081 100644 --- a/src/SMDS/SMDS_MeshGroup.cxx +++ b/src/SMDS/SMDS_MeshGroup.cxx @@ -16,7 +16,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org or email : webmaster@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -24,9 +24,15 @@ // Author : Jean-Michel BOULCOURT // Module : SMESH -using namespace std; +#ifdef _MSC_VER +#pragma warning(disable:4786) +#endif + #include "SMDS_MeshGroup.hxx" #include "utilities.h" + +using namespace std; + //======================================================================= //function : SMDS_MeshGroup //purpose : @@ -119,7 +125,7 @@ void SMDS_MeshGroup::Add(const SMDS_MeshElement * theElem) // the type of the group is determined by the first element added if (myElements.empty()) myType = theElem->GetType(); else if (theElem->GetType() != myType) - MESSAGE("SMDS_MeshGroup::Add : Type Mismatch"); + MESSAGE("SMDS_MeshGroup::Add : Type Mismatch "<GetType()<<"!="<