From: bangerth Date: Thu, 2 Aug 2007 22:10:48 +0000 (+0000) Subject: Avoid unnecessary semicolons that trip up current gcc mainline versions X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bed4213f4ab194b8955ad39709763309d5c41721;p=dealii-svn.git Avoid unnecessary semicolons that trip up current gcc mainline versions git-svn-id: https://svn.dealii.org/trunk@14891 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/auto_derivative_function.cc b/tests/base/auto_derivative_function.cc index 2f9ad0f95c..7f44658fab 100644 --- a/tests/base/auto_derivative_function.cc +++ b/tests/base/auto_derivative_function.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors +// Copyright (C) 2000, 2001, 2002, 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 @@ -32,7 +32,7 @@ class AutoSinExp: public AutoDerivativeFunction { public: AutoSinExp(); - virtual ~AutoSinExp() {}; + virtual ~AutoSinExp() {} virtual double value (const Point &p, const unsigned int component = 0) const; @@ -79,8 +79,8 @@ template class ExactSinExp: public AutoSinExp { public: - ExactSinExp() {}; - ~ExactSinExp() {}; + ExactSinExp() {} + ~ExactSinExp() {} virtual Tensor<1,dim> gradient (const Point &p, const unsigned int component = 0) const; diff --git a/tests/base/threads.pl b/tests/base/threads.pl index dd1dcf584d..34bfe910f6 100644 --- a/tests/base/threads.pl +++ b/tests/base/threads.pl @@ -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 @@ -47,7 +47,7 @@ sub print_args { print ")${end} { \n"; print " deallog << __PRETTY_FUNCTION__ << std::endl;\n"; print " static X<0> x; return x;\n"; - print " };\n"; + print " }\n"; } for ($i=0; $i<=$N; ++$i) {