From 672f3b8696edd663752cc7f7102e9f54ecf636d8 Mon Sep 17 00:00:00 2001
From: Christoph Grueninger <christoph.grueninger@iws.uni-stuttgart.de>
Date: Thu, 25 Oct 2012 12:56:18 +0000
Subject: [PATCH] [boxmodel/common] Remove absurd semicolon after methods.
 (reviewed by vishal)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@9437 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/boxmodels/common/boxassembler.hh        |  6 ++---
 .../boxmodels/common/boxfvelementgeometry.hh  |  2 +-
 dumux/boxmodels/common/boxmodel.hh            | 26 +++++++++----------
 3 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/dumux/boxmodels/common/boxassembler.hh b/dumux/boxmodels/common/boxassembler.hh
index 6eab0bd6e3..b21916628d 100644
--- a/dumux/boxmodels/common/boxassembler.hh
+++ b/dumux/boxmodels/common/boxassembler.hh
@@ -470,7 +470,7 @@ public:
             // will be consistently linearized at this vertex
             vertexDelta_[i] = 0.0;
         }
-    };
+    }
 
     /*!
      * \brief Returns the reassemble color of a vertex
@@ -612,7 +612,7 @@ private:
             }
         }
         matrix_->endindices();
-    };
+    }
 
     // reset the global linear system of equations. if partial
     // reassemble is enabled, this means that the jacobian matrix must
@@ -780,7 +780,7 @@ private:
             if (enableJacobianRecycling_())
                 storageTerm_[globI] += model_().localResidual().storageTerm(i);
         }
-    };
+    }
 
     // "assemble" a ghost element
     void assembleGhostElement_(const Element &elem)
diff --git a/dumux/boxmodels/common/boxfvelementgeometry.hh b/dumux/boxmodels/common/boxfvelementgeometry.hh
index a8d1e5a0b7..fd0b5c89e2 100644
--- a/dumux/boxmodels/common/boxfvelementgeometry.hh
+++ b/dumux/boxmodels/common/boxfvelementgeometry.hh
@@ -61,7 +61,7 @@ public:
     static void fillSubContVolData(BoxFVElementGeometry &eg, int numVertices)
     {
         DUNE_THROW(Dune::NotImplemented, "_BoxFVElemGeomHelper::fillSubContVolData dim = " << dim);
-    };
+    }
 };
 
 template <typename BoxFVElementGeometry>
diff --git a/dumux/boxmodels/common/boxmodel.hh b/dumux/boxmodels/common/boxmodel.hh
index 17c28b8df0..83628cca22 100644
--- a/dumux/boxmodels/common/boxmodel.hh
+++ b/dumux/boxmodels/common/boxmodel.hh
@@ -157,7 +157,7 @@ public:
                 prevVolVars[i].setHint(&prevHints_[globalIdx]);
             }
         }
-    };
+    }
 
     void setHints(const Element &element,
                   ElementVolumeVariables &curVolVars) const
@@ -175,7 +175,7 @@ public:
             else
                 curVolVars[i].setHint(&curHints_[globalIdx]);
         }
-    };
+    }
 
     void updatePrevHints()
     {
@@ -183,7 +183,7 @@ public:
             return;
 
         prevHints_ = curHints_;
-    };
+    }
 
     void updateCurHints(const Element &element,
                         const ElementVolumeVariables &elemVolVars) const
@@ -198,7 +198,7 @@ public:
                 prevHints_[globalIdx] = elemVolVars[i];
             hintsUsable_[globalIdx] = true;
         }
-    };
+    }
 
 
     /*!
@@ -430,7 +430,7 @@ public:
      *        model can overload.
      */
     void updateSuccessful()
-    { };
+    { }
 
     /*!
      * \brief Called by the update() method if it was
@@ -446,7 +446,7 @@ public:
         curHints_ = prevHints_;
 
         jacAsm_->reassembleAll();
-    };
+    }
 
     /*!
      * \brief Called by the problem if a time integration was
@@ -513,7 +513,7 @@ public:
         for (int eqIdx = 0; eqIdx < numEq; ++eqIdx) {
             outstream << curSol()[vertIdx][eqIdx] << " ";
         }
-    };
+    }
 
     /*!
      * \brief Reads the current solution variables for a vertex from a
@@ -535,7 +535,7 @@ public:
                            << vertIdx);
             instream >> curSol()[vertIdx][eqIdx];
         }
-    };
+    }
 
     /*!
      * \brief Returns the number of global degrees of freedoms (DOFs)
@@ -550,19 +550,19 @@ public:
      * This usually means a mapper for vertices.
      */
     const DofMapper &dofMapper() const
-    { return problem_().vertexMapper(); };
+    { return problem_().vertexMapper(); }
 
     /*!
      * \brief Mapper for vertices to indices.
      */
     const VertexMapper &vertexMapper() const
-    { return problem_().vertexMapper(); };
+    { return problem_().vertexMapper(); }
 
     /*!
      * \brief Mapper for elements to indices.
      */
     const ElementMapper &elementMapper() const
-    { return problem_().elementMapper(); };
+    { return problem_().elementMapper(); }
 
     /*!
      * \brief Resets the Jacobian matrix assembler, so that the
@@ -584,7 +584,7 @@ public:
      */
     void updatePVWeights(const Element &element,
                          const ElementVolumeVariables &volVars) const
-    { };
+    { }
 
     /*!
      * \brief Add the vector fields for analysing the convergence of
@@ -913,7 +913,7 @@ private:
      * \brief Returns whether messages should be printed
      */
     bool verbose_() const
-    { return gridView_().comm().rank() == 0; };
+    { return gridView_().comm().rank() == 0; }
 
     Implementation &asImp_()
     { return *static_cast<Implementation*>(this); }
-- 
GitLab