]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid unnecessary semicolons that trip up current gcc mainline versions
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 2 Aug 2007 22:10:48 +0000 (22:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 2 Aug 2007 22:10:48 +0000 (22:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@14891 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/auto_derivative_function.cc
tests/base/threads.pl

index 2f9ad0f95c025f298c453828dddbc3c6135abeca..7f44658fabc616604cf7ebd2272dbc168f73d6d3 100644 (file)
@@ -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<dim>
 {
   public:
     AutoSinExp();
-    virtual ~AutoSinExp() {};
+    virtual ~AutoSinExp() {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -79,8 +79,8 @@ template <int dim>
 class ExactSinExp: public AutoSinExp<dim>
 {
   public:
-    ExactSinExp() {};
-    ~ExactSinExp() {};
+    ExactSinExp() {}
+    ~ExactSinExp() {}
     
     virtual Tensor<1,dim> gradient (const Point<dim>   &p,
                                    const unsigned int  component = 0) const;    
index dd1dcf584d4543fe76f79e3d964d6274babb180c..34bfe910f600661a46a48d4cfb838685654205da 100644 (file)
@@ -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) {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.