From f3354f41f041a3b83042c8551ca48c0b19eb5418 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 3 Aug 2007 04:02:10 +0000 Subject: [PATCH] Another set of unnecessary semicolons git-svn-id: https://svn.dealii.org/trunk@14896 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/christian_1.cc | 9 ++++---- tests/bits/denis_1.cc | 4 ++-- tests/bits/error_estimator_01.cc | 8 +++---- tests/bits/error_estimator_02.cc | 8 +++---- tests/bits/point_difference_01.cc | 10 ++++----- tests/bits/point_difference_02.cc | 10 ++++----- tests/bits/point_value_01.cc | 10 ++++----- tests/bits/point_value_02.cc | 10 ++++----- tests/bits/step-12.cc | 4 ++-- tests/bits/step-13.cc | 6 +++--- tests/bits/step-14.cc | 10 ++++----- tests/bits/step-15.cc | 4 ++-- tests/bits/step-4.cc | 6 +++--- tests/bits/step-5.cc | 4 ++-- tests/bits/step-6.cc | 4 ++-- tests/bits/step-7.cc | 6 +++--- tests/bits/step-9.cc | 8 +++---- tests/fe/deformed_projection.h | 6 +++--- tests/fe/fe_tools_test.cc | 6 +++--- tests/fe/rt_approximation_01.cc | 22 ++++++++++---------- tests/hp/crash_17.cc | 2 +- tests/hp/crash_17_compressed_set_sparsity.cc | 2 +- tests/hp/crash_18.cc | 2 +- tests/hp/crash_18_compressed_set_sparsity.cc | 2 +- tests/hp/step-12.cc | 4 ++-- tests/hp/step-4.cc | 6 +++--- tests/hp/step-5.cc | 4 ++-- 27 files changed, 89 insertions(+), 88 deletions(-) diff --git a/tests/bits/christian_1.cc b/tests/bits/christian_1.cc index a5a6547fc2..4b10ece30d 100644 --- a/tests/bits/christian_1.cc +++ b/tests/bits/christian_1.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2005, 2006 by the deal.II authors and Christian Kamm +// Copyright (C) 2005, 2006, 2007 by the deal.II authors and Christian Kamm // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -87,10 +87,10 @@ DoFToolsEx::transfer(const DoFHandler& source_dof, const InVector& source_v class TestFunction : public Function<2> { public: - TestFunction() : Function<2>() {}; + TestFunction() : Function<2>() {} virtual double value(const Point<2> &p, const unsigned int) const - { return std::sin(3.14159*p(0))*std::sin(3.14159*p(1)); }; + { return std::sin(3.14159*p(0))*std::sin(3.14159*p(1)); } }; int main() @@ -119,7 +119,8 @@ int main() Triangulation<2>::active_cell_iterator it = both_tria.begin_active(); it->set_refine_flag(); (++it)->set_refine_flag(); - for(int i = 1; i < 8; ++i, ++it); + for(int i = 1; i < 8; ++i, ++it) + ; it->set_coarsen_flag(); (++it)->set_coarsen_flag(); (++it)->set_coarsen_flag(); diff --git a/tests/bits/denis_1.cc b/tests/bits/denis_1.cc index d299416e39..4bc104aaa3 100644 --- a/tests/bits/denis_1.cc +++ b/tests/bits/denis_1.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2003, 2004, 2005 by the deal.II authors +// Copyright (C) 2003, 2004, 2005, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -49,7 +49,7 @@ class F : public Function<2> r = std::sqrt( x*x + y*y ); return 0.5 * ( 1 - std::tanh( ( r - 0.5 ) /( 2*M_SQRT2 * delta ) ) ) ; - }; + } }; diff --git a/tests/bits/error_estimator_01.cc b/tests/bits/error_estimator_01.cc index f72040e7eb..2764b02c07 100644 --- a/tests/bits/error_estimator_01.cc +++ b/tests/bits/error_estimator_01.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004 by the deal.II authors +// Copyright (C) 2004, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -38,16 +38,16 @@ template class MySquareFunction : public Function { public: - MySquareFunction () : Function(2) {}; + MySquareFunction () : Function(2) {} virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square(); }; + { return (component+1)*p.square(); } virtual void vector_value (const Point &p, Vector &values) const { values(0) = value(p,0); - values(1) = value(p,1); }; + values(1) = value(p,1); } }; diff --git a/tests/bits/error_estimator_02.cc b/tests/bits/error_estimator_02.cc index 6e938f45cb..aa3403d286 100644 --- a/tests/bits/error_estimator_02.cc +++ b/tests/bits/error_estimator_02.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 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 @@ -38,16 +38,16 @@ template class MySquareFunction : public Function { public: - MySquareFunction () : Function(2) {}; + MySquareFunction () : Function(2) {} virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square(); }; + { return (component+1)*p.square(); } virtual void vector_value (const Point &p, Vector &values) const { values(0) = value(p,0); - values(1) = value(p,1); }; + values(1) = value(p,1); } }; diff --git a/tests/bits/point_difference_01.cc b/tests/bits/point_difference_01.cc index f23429b6c3..9197ef7fd7 100644 --- a/tests/bits/point_difference_01.cc +++ b/tests/bits/point_difference_01.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004 by the deal.II authors +// Copyright (C) 2004, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -40,11 +40,11 @@ class MySquareFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square()+1; }; + { return (component+1)*p.square()+1; } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; @@ -54,11 +54,11 @@ class MyExpFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return std::exp (p(0)); }; + { return std::exp (p(0)); } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; diff --git a/tests/bits/point_difference_02.cc b/tests/bits/point_difference_02.cc index 6163cc0794..47ae3a4f63 100644 --- a/tests/bits/point_difference_02.cc +++ b/tests/bits/point_difference_02.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004 by the deal.II authors +// Copyright (C) 2004, 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -44,11 +44,11 @@ class MySquareFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square()+1; }; + { return (component+1)*p.square()+1; } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; @@ -58,11 +58,11 @@ class MyExpFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return std::exp (p(0)); }; + { return std::exp (p(0)); } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; diff --git a/tests/bits/point_value_01.cc b/tests/bits/point_value_01.cc index 6ced721ccc..16dd19e73e 100644 --- a/tests/bits/point_value_01.cc +++ b/tests/bits/point_value_01.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 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 @@ -39,11 +39,11 @@ class MySquareFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square()+1; }; + { return (component+1)*p.square()+1; } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; @@ -53,11 +53,11 @@ class MyExpFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return std::exp (p(0)); }; + { return std::exp (p(0)); } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; diff --git a/tests/bits/point_value_02.cc b/tests/bits/point_value_02.cc index 073d324e18..74e0a429cc 100644 --- a/tests/bits/point_value_02.cc +++ b/tests/bits/point_value_02.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2004, 2006 by the deal.II authors +// Copyright (C) 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 @@ -40,11 +40,11 @@ class MySquareFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return (component+1)*p.square()+1; }; + { return (component+1)*p.square()+1; } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; @@ -54,11 +54,11 @@ class MyExpFunction : public Function public: virtual double value (const Point &p, const unsigned int component) const - { return std::exp (p(0)); }; + { return std::exp (p(0)); } virtual void vector_value (const Point &p, Vector &values) const - { values(0) = value(p,0); }; + { values(0) = value(p,0); } }; diff --git a/tests/bits/step-12.cc b/tests/bits/step-12.cc index 2d903fc3a6..4f3fd5e36b 100644 --- a/tests/bits/step-12.cc +++ b/tests/bits/step-12.cc @@ -2,7 +2,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 @@ -71,7 +71,7 @@ template class Beta { public: - Beta () {}; + Beta () {} void value_list (const std::vector > &points, std::vector > &values) const; }; diff --git a/tests/bits/step-13.cc b/tests/bits/step-13.cc index b3b319652e..9370f61740 100644 --- a/tests/bits/step-13.cc +++ b/tests/bits/step-13.cc @@ -2,7 +2,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 @@ -650,7 +650,7 @@ template class Solution : public Function { public: - Solution () : Function () {}; + Solution () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -675,7 +675,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/tests/bits/step-14.cc b/tests/bits/step-14.cc index aa2a4264cd..e09c403849 100644 --- a/tests/bits/step-14.cc +++ b/tests/bits/step-14.cc @@ -2,7 +2,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 @@ -881,7 +881,7 @@ namespace Data template struct SetUp : public SetUpBase { - SetUp () {}; + SetUp () {} virtual const Function & get_boundary_values () const; @@ -935,7 +935,7 @@ namespace Data class BoundaryValues : public Function { public: - BoundaryValues () : Function () {}; + BoundaryValues () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -945,7 +945,7 @@ namespace Data class RightHandSide : public Function { public: - RightHandSide () : Function () {}; + RightHandSide () : Function () {} virtual double value (const Point &p, const unsigned int component) const; @@ -1017,7 +1017,7 @@ namespace Data class RightHandSide : public ConstantFunction { public: - RightHandSide () : ConstantFunction (1.) {}; + RightHandSide () : ConstantFunction (1.) {} }; static diff --git a/tests/bits/step-15.cc b/tests/bits/step-15.cc index e307b9be99..0bafc90b6f 100644 --- a/tests/bits/step-15.cc +++ b/tests/bits/step-15.cc @@ -2,7 +2,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 @@ -69,7 +69,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/tests/bits/step-4.cc b/tests/bits/step-4.cc index d879adf51a..fc268364e6 100644 --- a/tests/bits/step-4.cc +++ b/tests/bits/step-4.cc @@ -2,7 +2,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 @@ -79,7 +79,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -91,7 +91,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/tests/bits/step-5.cc b/tests/bits/step-5.cc index 426a8061f7..ab43e72053 100644 --- a/tests/bits/step-5.cc +++ b/tests/bits/step-5.cc @@ -2,7 +2,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 @@ -81,7 +81,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/tests/bits/step-6.cc b/tests/bits/step-6.cc index 67a80a0c33..8187b768c4 100644 --- a/tests/bits/step-6.cc +++ b/tests/bits/step-6.cc @@ -2,7 +2,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 @@ -96,7 +96,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/tests/bits/step-7.cc b/tests/bits/step-7.cc index 52131097eb..c99100592e 100644 --- a/tests/bits/step-7.cc +++ b/tests/bits/step-7.cc @@ -2,7 +2,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 @@ -91,7 +91,7 @@ class Solution : public Function, protected SolutionBase { public: - Solution () : Function() {}; + Solution () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -143,7 +143,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/tests/bits/step-9.cc b/tests/bits/step-9.cc index 9b5dfba670..ccf4a412ed 100644 --- a/tests/bits/step-9.cc +++ b/tests/bits/step-9.cc @@ -2,7 +2,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 @@ -105,7 +105,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; @@ -153,7 +153,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -211,7 +211,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/tests/fe/deformed_projection.h b/tests/fe/deformed_projection.h index 8a59af1583..5b7ffa7228 100644 --- a/tests/fe/deformed_projection.h +++ b/tests/fe/deformed_projection.h @@ -2,7 +2,7 @@ // deformed_projection.h,v 1.3 2003/06/09 16:00:38 wolf Exp // Version: // -// Copyright (C) 2003, 2005, 2006 by the deal.II authors +// Copyright (C) 2003, 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 @@ -66,9 +66,9 @@ class TestMap1 : public Function public: TestMap1 (const unsigned int n_components) : Function (n_components) - {}; + {} - virtual ~TestMap1 () {}; + virtual ~TestMap1 () {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/tests/fe/fe_tools_test.cc b/tests/fe/fe_tools_test.cc index 1c07e1c35e..ac91eae285 100644 --- a/tests/fe/fe_tools_test.cc +++ b/tests/fe/fe_tools_test.cc @@ -4,7 +4,7 @@ /* fe_tools_test.cc,v 1.6 2003/04/09 15:49:54 wolf Exp */ /* Version: */ /* */ -/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005 by the deal.II authors */ +/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2005, 2007 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -41,8 +41,8 @@ const double pi=std::acos(-1.); class TestFunction: public Function<2> { public: - TestFunction() {}; - virtual ~TestFunction() {}; + TestFunction() {} + virtual ~TestFunction() {} virtual double value(const Point<2> &p, const unsigned int component) const; diff --git a/tests/fe/rt_approximation_01.cc b/tests/fe/rt_approximation_01.cc index e17dfe740e..c9da7bd5b6 100644 --- a/tests/fe/rt_approximation_01.cc +++ b/tests/fe/rt_approximation_01.cc @@ -2,7 +2,7 @@ // rt_approximation_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp // Version: // -// Copyright (C) 2003, 2005, 2006 by the deal.II authors +// Copyright (C) 2003, 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 @@ -73,9 +73,9 @@ class TestMap1 : public Function public: TestMap1 (const unsigned int n_components) : Function (n_components) - {}; + {} - virtual ~TestMap1 () {}; + virtual ~TestMap1 () {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -129,9 +129,9 @@ class TestDef1 : public Function TestDef1 (const unsigned int n_components, const double ph) : Function (n_components), phi (ph) - {}; + {} - virtual ~TestDef1 () {}; + virtual ~TestDef1 () {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -184,9 +184,9 @@ class TestDef2 : public Function TestDef2 (const unsigned int n_components, const double sc) : Function (n_components), scale (sc) - {}; + {} - virtual ~TestDef2 () {}; + virtual ~TestDef2 () {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -236,9 +236,9 @@ class TestDef3 : public Function TestDef3 (const unsigned int n_components, const double sc) : Function (n_components), scale (sc) - {}; + {} - virtual ~TestDef3 () {}; + virtual ~TestDef3 () {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -294,9 +294,9 @@ class TestPoly : public Function } polys.push_back (Polynomials::Polynomial (coeff)); } - }; + } - virtual ~TestPoly () {}; + virtual ~TestPoly () {} virtual double value (const Point &p, const unsigned int component = 0) const; diff --git a/tests/hp/crash_17.cc b/tests/hp/crash_17.cc index 358f268035..b0851d484d 100644 --- a/tests/hp/crash_17.cc +++ b/tests/hp/crash_17.cc @@ -101,7 +101,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/tests/hp/crash_17_compressed_set_sparsity.cc b/tests/hp/crash_17_compressed_set_sparsity.cc index d2feb304bc..adca9ef93c 100644 --- a/tests/hp/crash_17_compressed_set_sparsity.cc +++ b/tests/hp/crash_17_compressed_set_sparsity.cc @@ -103,7 +103,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/tests/hp/crash_18.cc b/tests/hp/crash_18.cc index 7d07ef02f3..d176ae2dae 100644 --- a/tests/hp/crash_18.cc +++ b/tests/hp/crash_18.cc @@ -104,7 +104,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/tests/hp/crash_18_compressed_set_sparsity.cc b/tests/hp/crash_18_compressed_set_sparsity.cc index 689168f548..3810f2f39f 100644 --- a/tests/hp/crash_18_compressed_set_sparsity.cc +++ b/tests/hp/crash_18_compressed_set_sparsity.cc @@ -107,7 +107,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/tests/hp/step-12.cc b/tests/hp/step-12.cc index 8a82fce615..3c189ec5ff 100644 --- a/tests/hp/step-12.cc +++ b/tests/hp/step-12.cc @@ -2,7 +2,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 @@ -71,7 +71,7 @@ template class Beta { public: - Beta () {}; + Beta () {} void value_list (const std::vector > &points, std::vector > &values) const; }; diff --git a/tests/hp/step-4.cc b/tests/hp/step-4.cc index 74f6d8d125..1f1a31fa82 100644 --- a/tests/hp/step-4.cc +++ b/tests/hp/step-4.cc @@ -2,7 +2,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 @@ -78,7 +78,7 @@ template class RightHandSide : public Function { public: - RightHandSide () : Function() {}; + RightHandSide () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -90,7 +90,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/tests/hp/step-5.cc b/tests/hp/step-5.cc index aab179974b..226d222ce5 100644 --- a/tests/hp/step-5.cc +++ b/tests/hp/step-5.cc @@ -2,7 +2,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 @@ -80,7 +80,7 @@ template class Coefficient : public Function { public: - Coefficient () : Function() {}; + Coefficient () : Function() {} virtual double value (const Point &p, const unsigned int component = 0) const; -- 2.39.5