From 54c20960c63816f7c3e173b6d53c4d6fe7006ead Mon Sep 17 00:00:00 2001 From: bangerth Date: Sat, 7 Apr 2007 01:25:52 +0000 Subject: [PATCH] Remove more unnecessary semicolons that the most recent gcc wants about. git-svn-id: https://svn.dealii.org/trunk@14619 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-12/step-12.cc | 4 ++-- deal.II/examples/step-13/step-13.cc | 6 +++--- deal.II/examples/step-14/step-14.cc | 10 +++++----- deal.II/examples/step-15/step-15.cc | 4 ++-- deal.II/examples/step-20/step-20.cc | 8 ++++---- deal.II/examples/step-21/step-21.cc | 10 +++++----- deal.II/examples/step-23/step-23.cc | 10 +++++----- deal.II/examples/step-24/step-24.cc | 2 +- deal.II/examples/step-25/step-25.cc | 4 ++-- deal.II/examples/step-27/step-27.cc | 2 +- deal.II/examples/step-4/step-4.cc | 6 +++--- deal.II/examples/step-5/step-5.cc | 4 ++-- deal.II/examples/step-6/step-6.cc | 4 ++-- deal.II/examples/step-7/step-7.cc | 6 +++--- deal.II/examples/step-9/step-9.cc | 8 ++++---- deal.II/lac/include/lac/solver_gmres.h | 4 ++-- 16 files changed, 46 insertions(+), 46 deletions(-) diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 79e264e348..6779b9555a 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors */ +/* Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -138,7 +138,7 @@ template class Beta { public: - Beta () {}; + Beta () {} void value_list (const std::vector > &points, std::vector > &values) const; }; diff --git a/deal.II/examples/step-13/step-13.cc b/deal.II/examples/step-13/step-13.cc index d78afc5302..9a482fb02f 100644 --- a/deal.II/examples/step-13/step-13.cc +++ b/deal.II/examples/step-13/step-13.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2001, 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -1793,7 +1793,7 @@ template class Solution : public Function { public: - Solution () : Function () {}; + Solution () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -1818,7 +1818,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function () {}; + RightHandSide () : Function () {} virtual double value (const Point &p, const unsigned int component) const; diff --git a/deal.II/examples/step-14/step-14.cc b/deal.II/examples/step-14/step-14.cc index 72dae09d15..e20fabe726 100644 --- a/deal.II/examples/step-14/step-14.cc +++ b/deal.II/examples/step-14/step-14.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors */ +/* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -1345,7 +1345,7 @@ namespace Data template struct SetUp : public SetUpBase { - SetUp () {}; + SetUp () {} virtual const Function & get_boundary_values () const; @@ -1411,7 +1411,7 @@ namespace Data class BoundaryValues : public Function { public: - BoundaryValues () : Function () {}; + BoundaryValues () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -1421,7 +1421,7 @@ namespace Data class RightHandSide : public Function { public: - RightHandSide () : Function () {}; + RightHandSide () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -1525,7 +1525,7 @@ namespace Data class RightHandSide : public ConstantFunction { public: - RightHandSide () : ConstantFunction (1.) {}; + RightHandSide () : ConstantFunction (1.) {} }; // Finally a function to diff --git a/deal.II/examples/step-15/step-15.cc b/deal.II/examples/step-15/step-15.cc index beab3093ac..520133f458 100644 --- a/deal.II/examples/step-15/step-15.cc +++ b/deal.II/examples/step-15/step-15.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -123,7 +123,7 @@ double gradient_power (const Tensor<1,dim> &v, class InitializationValues : public Function<1> { public: - InitializationValues () : Function<1>() {}; + InitializationValues () : Function<1>() {} virtual double value (const Point<1> &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-20/step-20.cc b/deal.II/examples/step-20/step-20.cc index 8032e2b17f..4dbb7c923e 100644 --- a/deal.II/examples/step-20/step-20.cc +++ b/deal.II/examples/step-20/step-20.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2005, 2006 by the deal.II authors */ +/* Copyright (C) 2005, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -154,7 +154,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function(1) {}; + RightHandSide () : Function(1) {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -166,7 +166,7 @@ template class PressureBoundaryValues : public Function { public: - PressureBoundaryValues () : Function(1) {}; + PressureBoundaryValues () : Function(1) {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -177,7 +177,7 @@ template class ExactSolution : public Function { public: - ExactSolution () : Function(dim+1) {}; + ExactSolution () : Function(dim+1) {} virtual void vector_value (const Point &p, Vector &value) const; diff --git a/deal.II/examples/step-21/step-21.cc b/deal.II/examples/step-21/step-21.cc index 2f9a8c401d..c6b46692bd 100644 --- a/deal.II/examples/step-21/step-21.cc +++ b/deal.II/examples/step-21/step-21.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2006 by the deal.II authors */ +/* Copyright (C) 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -150,7 +150,7 @@ template class PressureRightHandSide : public Function { public: - PressureRightHandSide () : Function(1) {}; + PressureRightHandSide () : Function(1) {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -175,7 +175,7 @@ template class PressureBoundaryValues : public Function { public: - PressureBoundaryValues () : Function(1) {}; + PressureBoundaryValues () : Function(1) {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -205,7 +205,7 @@ template class SaturationBoundaryValues : public Function { public: - SaturationBoundaryValues () : Function(1) {}; + SaturationBoundaryValues () : Function(1) {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -249,7 +249,7 @@ template class InitialValues : public Function { public: - InitialValues () : Function(dim+2) {}; + InitialValues () : Function(dim+2) {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-23/step-23.cc b/deal.II/examples/step-23/step-23.cc index 0c51915c63..5eca1070c2 100644 --- a/deal.II/examples/step-23/step-23.cc +++ b/deal.II/examples/step-23/step-23.cc @@ -206,7 +206,7 @@ template class InitialValuesU : public Function { public: - InitialValuesU () : Function() {}; + InitialValuesU () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -217,7 +217,7 @@ template class InitialValuesV : public Function { public: - InitialValuesV () : Function() {}; + InitialValuesV () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -252,7 +252,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -278,7 +278,7 @@ template class BoundaryValuesU : public Function { public: - BoundaryValuesU () : Function() {}; + BoundaryValuesU () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -291,7 +291,7 @@ template class BoundaryValuesV : public Function { public: - BoundaryValuesV () : Function() {}; + BoundaryValuesV () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-24/step-24.cc b/deal.II/examples/step-24/step-24.cc index a40176a4ca..623f5de84a 100644 --- a/deal.II/examples/step-24/step-24.cc +++ b/deal.II/examples/step-24/step-24.cc @@ -159,7 +159,7 @@ template class InitialValuesP : public Function { public: - InitialValuesP () : Function() {}; + InitialValuesP () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-25/step-25.cc b/deal.II/examples/step-25/step-25.cc index 6562f8e465..a2da7cbb2a 100644 --- a/deal.II/examples/step-25/step-25.cc +++ b/deal.II/examples/step-25/step-25.cc @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (C) 2006 by the deal.II authors */ +/* Copyright (C) 2006, 2007 by the deal.II authors */ /* Author: Ivan Christov, Wolfgang Bangerth, Texas A&M University, 2006 */ /* */ /* This file is subject to QPL and may not be distributed */ @@ -185,7 +185,7 @@ class ExactSolution : public Function { public: ExactSolution (const unsigned int n_components = 1, - const double time = 0.) : Function(n_components, time) {}; + const double time = 0.) : Function(n_components, time) {} virtual double value (const Point &p, const unsigned int component = 0) const; }; diff --git a/deal.II/examples/step-27/step-27.cc b/deal.II/examples/step-27/step-27.cc index 062dda63cd..86c632da27 100644 --- a/deal.II/examples/step-27/step-27.cc +++ b/deal.II/examples/step-27/step-27.cc @@ -98,7 +98,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function () {}; + RightHandSide () : Function () {} virtual double value (const Point &p, const unsigned int component) const; diff --git a/deal.II/examples/step-4/step-4.cc b/deal.II/examples/step-4/step-4.cc index b4bd016800..26407dac70 100644 --- a/deal.II/examples/step-4/step-4.cc +++ b/deal.II/examples/step-4/step-4.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors */ +/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -155,7 +155,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -167,7 +167,7 @@ template class BoundaryValues : public Function { public: - BoundaryValues () : Function() {}; + BoundaryValues () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-5/step-5.cc b/deal.II/examples/step-5/step-5.cc index db38e90008..125c2fe335 100644 --- a/deal.II/examples/step-5/step-5.cc +++ b/deal.II/examples/step-5/step-5.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -129,7 +129,7 @@ template class Coefficient : public Function { public: - Coefficient () : Function() {}; + Coefficient () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-6/step-6.cc b/deal.II/examples/step-6/step-6.cc index c5aa8725f8..d37c4e5d10 100644 --- a/deal.II/examples/step-6/step-6.cc +++ b/deal.II/examples/step-6/step-6.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -167,7 +167,7 @@ template class Coefficient : public Function { public: - Coefficient () : Function() {}; + Coefficient () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-7/step-7.cc b/deal.II/examples/step-7/step-7.cc index 6a226f9568..ad3690a30a 100644 --- a/deal.II/examples/step-7/step-7.cc +++ b/deal.II/examples/step-7/step-7.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -232,7 +232,7 @@ class Solution : public Function, protected SolutionBase { public: - Solution () : Function() {}; + Solution () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -365,7 +365,7 @@ class RightHandSide : public Function, protected SolutionBase { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/examples/step-9/step-9.cc b/deal.II/examples/step-9/step-9.cc index 5cc0d7712d..09ea490998 100644 --- a/deal.II/examples/step-9/step-9.cc +++ b/deal.II/examples/step-9/step-9.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* Version: $Name$ */ /* */ -/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006 by the deal.II authors */ +/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -235,7 +235,7 @@ template class AdvectionField : public TensorFunction<1,dim> { public: - AdvectionField () : TensorFunction<1,dim> () {}; + AdvectionField () : TensorFunction<1,dim> () {} virtual Tensor<1,dim> value (const Point &p) const; @@ -377,7 +377,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -459,7 +459,7 @@ template class BoundaryValues : public Function { public: - BoundaryValues () : Function() {}; + BoundaryValues () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/deal.II/lac/include/lac/solver_gmres.h b/deal.II/lac/include/lac/solver_gmres.h index 4711fdeb5a..ce8ad80c63 100644 --- a/deal.II/lac/include/lac/solver_gmres.h +++ b/deal.II/lac/include/lac/solver_gmres.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -334,7 +334,7 @@ class SolverFGMRES : public Solver const bool /*use_default_residual*/ = true) : max_basis_size(max_basis_size) - {}; + {} /** * Maximum number of -- 2.39.5