Salome HOME
Merge from V6_main 11/02/2013
[modules/smesh.git] / src / SMDS / SMDS_MeshGroup.hxx
index c46184ea9dac57799f8c721207b4a5f04036626a..25e9027d101f3650a12b0ffac8189b674ded8b7b 100644 (file)
@@ -46,7 +46,7 @@ class SMDS_EXPORT SMDS_MeshGroup:public SMDS_MeshObject
 
         void SetType (const SMDSAbs_ElementType theType);
         void Clear();
-        void Add(const SMDS_MeshElement * theElem);
+        bool Add(const SMDS_MeshElement * theElem);
         bool Remove(const SMDS_MeshElement * theElem);
         bool IsEmpty() const { return myElements.empty(); }
         int Extent() const { return myElements.size(); }