diff --git a/dumux/implicit/box/boxlocalresidual.hh b/dumux/implicit/box/boxlocalresidual.hh index 184f08c53cb3eb35dd4dbec59e7231a5ca30bdb8..7544928eef9e567d3a32af623d844671021f33a8 100644 --- a/dumux/implicit/box/boxlocalresidual.hh +++ b/dumux/implicit/box/boxlocalresidual.hh @@ -264,7 +264,7 @@ protected: } const VertexMapper &vertexMapper_() const - { return this->problem_().vertexMapper(); }; + { return this->problem_().vertexMapper(); } }; } diff --git a/dumux/implicit/common/implicitlocaljacobian.hh b/dumux/implicit/common/implicitlocaljacobian.hh index 10c495ae903033ab1356fe9bb948b4fb469e691b..1e8f77c35f083d560dfa5cb713e5606571d2f394 100644 --- a/dumux/implicit/common/implicitlocaljacobian.hh +++ b/dumux/implicit/common/implicitlocaljacobian.hh @@ -303,7 +303,7 @@ protected: { Valgrind::CheckDefined(problemPtr_); return *problemPtr_; - }; + } /*! * \brief Returns a reference to the grid view. @@ -318,13 +318,13 @@ protected: { Valgrind::CheckDefined(elemPtr_); return *elemPtr_; - }; + } /*! * \brief Returns a reference to the model. */ const Model &model_() const - { return problem_().model(); }; + { return problem_().model(); } /*! * \brief Returns a reference to the jacobian assembler. @@ -336,7 +336,7 @@ protected: * \brief Returns a reference to the vertex mapper. */ const VertexMapper &vertexMapper_() const - { return problem_().vertexMapper(); }; + { return problem_().vertexMapper(); } /*! * \brief Reset the local jacobian matrix to 0 diff --git a/dumux/implicit/common/implicitlocalresidual.hh b/dumux/implicit/common/implicitlocalresidual.hh index cb77d3eda9954f964cc1316e3cd6b66cb4eab357..b72b554fea98e8d22ab8972b6b0ceaa4a623d85c 100644 --- a/dumux/implicit/common/implicitlocalresidual.hh +++ b/dumux/implicit/common/implicitlocalresidual.hh @@ -402,13 +402,13 @@ protected: * \brief Returns a reference to the problem. */ const Problem &problem_() const - { return *problemPtr_; }; + { return *problemPtr_; } /*! * \brief Returns a reference to the model. */ const Model &model_() const - { return problem_().model(); }; + { return problem_().model(); } /*! * \brief Returns a reference to the grid view. diff --git a/dumux/implicit/common/implicitporousmediaproblem.hh b/dumux/implicit/common/implicitporousmediaproblem.hh index d51358616330e0467116ec29a0c8e56a8f720681..c89c66b1e39cb847be6541969f0af2f4267542a5 100644 --- a/dumux/implicit/common/implicitporousmediaproblem.hh +++ b/dumux/implicit/common/implicitporousmediaproblem.hh @@ -107,7 +107,7 @@ public: * no energy equation is used. */ Scalar temperature() const - { DUNE_THROW(Dune::NotImplemented, "temperature() method not implemented by the actual problem"); }; + { DUNE_THROW(Dune::NotImplemented, "temperature() method not implemented by the actual problem"); } /*! * \brief Returns the acceleration due to gravity \f$\mathrm{[m/s^2]}\f$. diff --git a/dumux/implicit/common/implicitproblem.hh b/dumux/implicit/common/implicitproblem.hh index 2812c8f0dda8f9d5f2925dedbff2bbe165dcaef3..b63f5128589db560a55b0ab736236ad1ffd8fbcf 100644 --- a/dumux/implicit/common/implicitproblem.hh +++ b/dumux/implicit/common/implicitproblem.hh @@ -549,7 +549,7 @@ public: Scalar nextTimeStepSize(const Scalar dt) { return newtonCtl_.suggestTimeStepSize(dt); - }; + } /*! * \brief Returns true if a restart file should be written to @@ -603,7 +603,7 @@ public: std::cerr << "The end of an episode is reached, but the problem " << "does not override the episodeEnd() method. " << "Doing nothing!\n"; - }; + } // \} /*! diff --git a/dumux/implicit/common/implicitvolumevariables.hh b/dumux/implicit/common/implicitvolumevariables.hh index 8acdbabd9ca44b1544c41832409c253c2b0eb62d..34450dd2af36267eec4ca2153c1e8eb58f050733 100644 --- a/dumux/implicit/common/implicitvolumevariables.hh +++ b/dumux/implicit/common/implicitvolumevariables.hh @@ -52,7 +52,7 @@ class ImplicitVolumeVariables public: // default constructor ImplicitVolumeVariables() - { evalPoint_ = 0; }; + { evalPoint_ = 0; } // copy constructor ImplicitVolumeVariables(const ImplicitVolumeVariables &v) @@ -60,7 +60,7 @@ public: evalPoint_ = 0; priVars_ = v.priVars_; extrusionFactor_ = v.extrusionFactor_; - }; + } /*! * \brief Assignment operator @@ -72,7 +72,7 @@ public: extrusionFactor_ = v.extrusionFactor_; return *this; - }; + } /*! * \brief Sets the evaluation point used by the local jacobian. @@ -98,7 +98,7 @@ public: * conditions for complex calculations. */ void setHint(const Implementation *hint) - {}; + {} /*! * \brief Update all quantities for a given control volume @@ -168,7 +168,7 @@ public: if (evalPoint_ && evalPoint_ != this) evalPoint_->checkDefined(); #endif - }; + } protected: const Implementation &asImp_() const diff --git a/dumux/material/components/unit.hh b/dumux/material/components/unit.hh index 0a8dfb4d3f99bb8ce24ec26761bec7bcec5d3f33..769df1cbf085a1cf844f6a77344304d5c63aa110 100644 --- a/dumux/material/components/unit.hh +++ b/dumux/material/components/unit.hh @@ -73,7 +73,7 @@ public: static Scalar liquidViscosity(Scalar temperature, Scalar pressure) { return 1.0; - }; + } };