From: eap Date: Thu, 17 Feb 2011 13:54:05 +0000 (+0000) Subject: excess semicolons X-Git-Tag: StartingPortingMED3~52 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=18e25f573657a6916cc69433492effce7c57765b;p=modules%2Fsmesh.git excess semicolons --- diff --git a/src/SMDS/SMDS_Mesh.hxx b/src/SMDS/SMDS_Mesh.hxx index dd09cd832..5ea00e5fd 100644 --- a/src/SMDS/SMDS_Mesh.hxx +++ b/src/SMDS/SMDS_Mesh.hxx @@ -69,8 +69,8 @@ public: static std::vector _meshList; //! actual nodes coordinates, cells definition and reverse connectivity are stored in a vtkUnstructuredGrid - inline SMDS_UnstructuredGrid* getGrid() {return myGrid; }; - inline int getMeshId() {return myMeshId; }; + inline SMDS_UnstructuredGrid* getGrid() {return myGrid; } + inline int getMeshId() {return myMeshId; } SMDS_NodeIteratorPtr nodesIterator (bool idInceasingOrder=false) const; SMDS_0DElementIteratorPtr elements0dIterator(bool idInceasingOrder=false) const; @@ -587,7 +587,7 @@ public: static int chunkSize; //! low level modification: add, change or remove node or element - inline void setMyModified() { this->myModified = true; }; + inline void setMyModified() { this->myModified = true; } void Modified(); unsigned long GetMTime(); @@ -628,7 +628,7 @@ protected: myElementIDFactory->adjustMaxId(ID); if (ID >= myCells.size()) myCells.resize(ID+SMDS_Mesh::chunkSize,0); - }; + } inline void adjustBoundingBox(double x, double y, double z) { @@ -638,7 +638,7 @@ protected: else if (y < ymin) ymin = y; if (z > zmax) zmax = z; else if (z < zmin) zmin = z; - }; + } // Fields PRIVATE diff --git a/src/SMDS/SMDS_MeshCell.hxx b/src/SMDS/SMDS_MeshCell.hxx index 792696f73..9666421d5 100644 --- a/src/SMDS/SMDS_MeshCell.hxx +++ b/src/SMDS/SMDS_MeshCell.hxx @@ -14,7 +14,7 @@ public: virtual ~SMDS_MeshCell(); virtual bool ChangeNodes(const SMDS_MeshNode* nodes[], const int nbNodes)= 0; - virtual bool vtkOrder(const SMDS_MeshNode* nodes[], const int nbNodes) {return true; }; + virtual bool vtkOrder(const SMDS_MeshNode* nodes[], const int nbNodes) {return true; } static int nbCells;