Salome HOME
Fix for problem: SIGSEGV appears if to select group after opening "Edit Group" dialog...
[modules/smesh.git] / src / SMDS / SMDS_VolumeOfFaces.hxx
index 7ea45b37caf3d15b72c85a7baf629fadbc1700e3..ae3b288819bac9e0bb5372219d528694baf992f0 100644 (file)
@@ -30,9 +30,8 @@
 #include "SMDS_MeshVolume.hxx"
 #include "SMDS_MeshFace.hxx"
 #include "SMDS_Iterator.hxx"
-#include <vector>
 #include <iostream>
-using namespace std;
+
 
 class SMDS_VolumeOfFaces:public SMDS_MeshVolume
 {
@@ -54,13 +53,14 @@ class SMDS_VolumeOfFaces:public SMDS_MeshVolume
                            const SMDS_MeshFace * face5,
                            const SMDS_MeshFace * face6);
 
-       void Print(ostream & OS) const;
+       void Print(std::ostream & OS) const;
        
        int NbFaces() const;
 
   protected:
        SMDS_ElemIteratorPtr
                elementsIterator(SMDSAbs_ElementType type) const;
-       vector<const SMDS_MeshFace *> myFaces;
+       const SMDS_MeshFace * myFaces[6];
+       int                   myNbFaces;
 };
 #endif