From 646845c80731daa3b52a3adafe78c1c6c8840a1a Mon Sep 17 00:00:00 2001 From: Christoph Grueninger <christoph.grueninger@iws.uni-stuttgart.de> Date: Tue, 20 Jan 2015 14:47:10 +0000 Subject: [PATCH] [cleanup] Remove more superfluous semicolons after methods. (reviewed by natalies) git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14086 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/implicit/box/boxlocalresidual.hh | 2 +- dumux/implicit/common/implicitlocaljacobian.hh | 8 ++++---- dumux/implicit/common/implicitlocalresidual.hh | 4 ++-- dumux/implicit/common/implicitporousmediaproblem.hh | 2 +- dumux/implicit/common/implicitproblem.hh | 4 ++-- dumux/implicit/common/implicitvolumevariables.hh | 10 +++++----- dumux/material/components/unit.hh | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dumux/implicit/box/boxlocalresidual.hh b/dumux/implicit/box/boxlocalresidual.hh index 184f08c53c..7544928eef 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 10c495ae90..1e8f77c35f 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 cb77d3eda9..b72b554fea 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 d513586163..c89c66b1e3 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 2812c8f0dd..b63f512858 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 8acdbabd9c..34450dd2af 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 0a8dfb4d3f..769df1cbf0 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; - }; + } }; -- GitLab