]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Cover the remaining cases of unnecessary semicolons
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 3 Aug 2007 16:46:31 +0000 (16:46 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 3 Aug 2007 16:46:31 +0000 (16:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@14898 0785d39b-7218-0410-832d-ea1e28bc413d

24 files changed:
tests/fail/abf_approximation_01.cc
tests/fail/hp-step-14.cc
tests/fail/hp-step-15.cc
tests/fail/kelly_crash_01.cc
tests/fail/rt_distorted_01.cc
tests/fail/rt_distorted_02.cc
tests/fail/vectors_boundary_rhs_hp_02.cc
tests/fail/vectors_rhs_hp_02.cc
tests/hp/matrices.cc
tests/hp/matrices_hp.cc
tests/hp/step-13.cc
tests/hp/step-6.cc
tests/hp/step-7.cc
tests/hp/step-9.cc
tests/hp/vectors_boundary_rhs_01.cc
tests/hp/vectors_boundary_rhs_02.cc
tests/hp/vectors_boundary_rhs_03.cc
tests/hp/vectors_boundary_rhs_hp_01.cc
tests/hp/vectors_boundary_rhs_hp_03.cc
tests/hp/vectors_rhs_01.cc
tests/hp/vectors_rhs_02.cc
tests/hp/vectors_rhs_03.cc
tests/hp/vectors_rhs_hp_01.cc
tests/hp/vectors_rhs_hp_03.cc

index 4ca6bbf4c6dab05d79ac2aec33cc5325616f6852..0dfd312b8dda7929f0ba9fcf4c1163530251b6e9 100644 (file)
@@ -2,7 +2,7 @@
 //    abf_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<dim>
   public:
     TestMap1 (const unsigned int n_components) :
                    Function<dim> (n_components)
-      {};
+      {}
   
-    virtual ~TestMap1 () {};
+    virtual ~TestMap1 () {}
   
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -129,9 +129,9 @@ class TestDef1 : public Function<dim>
     TestDef1 (const unsigned int n_components, const double ph) :
                    Function<dim> (n_components),
                    phi (ph)
-      {};
+      {}
     
-    virtual ~TestDef1 () {};
+    virtual ~TestDef1 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -184,9 +184,9 @@ class TestDef2 : public Function<dim>
     TestDef2 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef2 () {};
+    virtual ~TestDef2 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -236,9 +236,9 @@ class TestDef3 : public Function<dim>
     TestDef3 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef3 () {};
+    virtual ~TestDef3 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -294,9 +294,9 @@ class TestPoly : public Function<dim>
              }
            polys.push_back (Polynomials::Polynomial<double> (coeff));
          }
-      };
+      }
     
-    virtual ~TestPoly () {};
+    virtual ~TestPoly () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index b25a09952993117aae2a6e249ba863f59d344a5f..4da6402666e630e51f109b4644f8ead9ef9ea768 100644 (file)
@@ -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 <class Traits, int dim>
   struct SetUp : public SetUpBase<dim>
   {
-      SetUp () {};
+      SetUp () {}
 
       virtual
       const Function<dim> &  get_boundary_values () const;
@@ -935,7 +935,7 @@ namespace Data
       class BoundaryValues : public Function<dim>
       {
        public:
-         BoundaryValues () : Function<dim> () {};
+         BoundaryValues () : Function<dim> () {}
          
          virtual double value (const Point<dim>   &p,
                                const unsigned int  component) const;
@@ -945,7 +945,7 @@ namespace Data
       class RightHandSide : public Function<dim>
       {
        public:
-         RightHandSide () : Function<dim> () {};
+         RightHandSide () : Function<dim> () {}
          
          virtual double value (const Point<dim>   &p,
                                const unsigned int  component) const;
@@ -1017,7 +1017,7 @@ namespace Data
       class RightHandSide : public ConstantFunction<dim>
       {
        public:
-         RightHandSide () : ConstantFunction<dim> (1.) {};
+         RightHandSide () : ConstantFunction<dim> (1.) {}
       };
       
       static
index c7d4f7a0eb9d6198a3f0c78ba6bcedfe7de52fbd..420b6d1f53e2dc5bfd59e5ee9c265d4eaf997835 100644 (file)
@@ -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
@@ -70,7 +70,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;
index 2fb639b993ecac9ec4dec5ab9690debaa9843f21..372f7596c4aa2a7f6226e3cdca3bbb23d53e9632 100644 (file)
@@ -101,7 +101,7 @@ template <int dim>
 class RightHandSide : public Function<dim>
 {
   public:
-    RightHandSide () : Function<dim> () {};
+    RightHandSide () : Function<dim> () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const;
index a3c0901f9574489a5e4c83527e5213d94c676cc1..dda7766df34f566d34930414efa06f7135a3c742 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_distorted_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
@@ -67,9 +67,9 @@ class TestMap1 : public Function<dim>
   public:
     TestMap1 (const unsigned int n_components) :
                    Function<dim> (n_components)
-      {};
+      {}
   
-    virtual ~TestMap1 () {};
+    virtual ~TestMap1 () {}
   
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -113,9 +113,9 @@ class TestDef1 : public Function<dim>
     TestDef1 (const unsigned int n_components, const double ph) :
                    Function<dim> (n_components),
                    phi (ph)
-      {};
+      {}
     
-    virtual ~TestDef1 () {};
+    virtual ~TestDef1 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -168,9 +168,9 @@ class TestDef2 : public Function<dim>
     TestDef2 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef2 () {};
+    virtual ~TestDef2 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -220,9 +220,9 @@ class TestDef3 : public Function<dim>
     TestDef3 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef3 () {};
+    virtual ~TestDef3 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index ec0a68b4902affcbe8f86ef2fbcd5e246c1af2fc..c3b6228d337a81b4129291d19e077fbe37a6035c 100644 (file)
@@ -2,7 +2,7 @@
 //    rt_distorted_02.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
@@ -69,9 +69,9 @@ class TestMap1 : public Function<dim>
   public:
     TestMap1 (const unsigned int n_components) :
                    Function<dim> (n_components)
-      {};
+      {}
   
-    virtual ~TestMap1 () {};
+    virtual ~TestMap1 () {}
   
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -125,9 +125,9 @@ class TestDef1 : public Function<dim>
     TestDef1 (const unsigned int n_components, const double ph) :
                    Function<dim> (n_components),
                    phi (ph)
-      {};
+      {}
     
-    virtual ~TestDef1 () {};
+    virtual ~TestDef1 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -180,9 +180,9 @@ class TestDef2 : public Function<dim>
     TestDef2 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef2 () {};
+    virtual ~TestDef2 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -232,9 +232,9 @@ class TestDef3 : public Function<dim>
     TestDef3 (const unsigned int n_components, const double sc) :
                    Function<dim> (n_components),
                    scale (sc)
-      {};
+      {}
     
-    virtual ~TestDef3 () {};
+    virtual ~TestDef3 () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index 11711387fd5c2dfbf14f7b386462e7147ab71f2e..853eb5b74160309b0a2924ba8cfa5f07d190c079 100644 (file)
@@ -45,18 +45,18 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(dim) {};
+    MySquareFunction () : Function<dim>(dim) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       {
        for (unsigned int d=0; d<dim; ++d)
          values(d) = value(p,d);
-      };
+      }
 };
 
 
index b68a7ba4908089adb396d84fd3a06ec82f665381..d510fc6242e763831247f338b26d98ccd734aa78 100644 (file)
@@ -45,18 +45,18 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(dim) {};
+    MySquareFunction () : Function<dim>(dim) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       {
        for (unsigned int d=0; d<dim; ++d)
          values(d) = value(p,d);
-      };
+      }
 };
 
 
index 10156272bddd4362f41e6c6a223f3b9a33be993d..2a4aed339503a8939d46724e8caeb2e4eba3c359 100644 (file)
@@ -45,16 +45,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index 4976832d52585040982908701c96c4eb13834a1e..29e71dbf4300f19fedd8f6e4dc26442a3e8781fe 100644 (file)
@@ -43,16 +43,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index 337f6fedcb409ce9bbdd24cbc75414273b35ada3..952dea5b566f0c17d460b50042772f0d8f93d9e7 100644 (file)
@@ -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 <int dim>
 class Solution : public Function<dim>
 {
   public:
-    Solution () : Function<dim> () {};
+    Solution () : Function<dim> () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const;
@@ -675,7 +675,7 @@ template <int dim>
 class RightHandSide : public Function<dim>
 {
   public:
-    RightHandSide () : Function<dim> () {};
+    RightHandSide () : Function<dim> () {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const;
index 03a38af605a38b3a03506af9c0eb837f9647dbcb..25428ffa4bcb4cc03d4f106f90fbf58a7341bf61 100644 (file)
@@ -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
@@ -95,7 +95,7 @@ template <int dim>
 class Coefficient : public Function<dim> 
 {
   public:
-    Coefficient () : Function<dim>() {};
+    Coefficient () : Function<dim>() {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index ae17514638f7b21e19387dc52d675ebb68ff4946..2f7fa836a8cf9e97bc9731a6e97a3626f22b1d3a 100644 (file)
@@ -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
@@ -90,7 +90,7 @@ class Solution : public Function<dim>,
                 protected SolutionBase<dim>
 {
   public:
-    Solution () : Function<dim>() {};
+    Solution () : Function<dim>() {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -142,7 +142,7 @@ class RightHandSide : public Function<dim>,
                      protected SolutionBase<dim>
 {
   public:
-    RightHandSide () : Function<dim>() {};
+    RightHandSide () : Function<dim>() {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index f3cc16aae5b3e99fa771d12ef56e5f0a991fe2ae..5f82be11c06026bbd13d176ac8542a6df5b710d2 100644 (file)
@@ -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
@@ -104,7 +104,7 @@ template <int dim>
 class AdvectionField : public TensorFunction<1,dim>
 {
   public:
-    AdvectionField () : TensorFunction<1,dim> () {};
+    AdvectionField () : TensorFunction<1,dim> () {}
     
     virtual Tensor<1,dim> value (const Point<dim> &p) const;
     
@@ -152,7 +152,7 @@ template <int dim>
 class RightHandSide : public Function<dim>
 {
   public:
-    RightHandSide () : Function<dim>() {};
+    RightHandSide () : Function<dim>() {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
@@ -210,7 +210,7 @@ template <int dim>
 class BoundaryValues : public Function<dim>
 {
   public:
-    BoundaryValues () : Function<dim>() {};
+    BoundaryValues () : Function<dim>() {}
 
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component = 0) const;
index ce6756883a1d6ae73a5c8e0ff271fcff48d13d3a..fb1fce9ed4da2859f499be34f2b9b819f763d92d 100644 (file)
@@ -45,16 +45,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index 39ccc7e7871355bde7b4467d363f9cc9404b05b4..e16713453ebe8948bbb04115e5b89bd25088c113 100644 (file)
@@ -45,18 +45,18 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(dim) {};
+    MySquareFunction () : Function<dim>(dim) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       {
        for (unsigned int d=0; d<dim; ++d)
          values(d) = value(p,d);
-      };
+      }
 };
 
 
index b3549cff9278140693fa6ec89ca814c00fa1bc99..f2916ad210281525e2ff75f086f2c8e008dbea39 100644 (file)
@@ -45,15 +45,15 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(1) {};
+    MySquareFunction () : Function<dim>(1) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
-      { values(0) = value(p,0); };
+      { values(0) = value(p,0); }
 };
 
 
index 643d29d53c7508e4cc6136e5ec4239239b7741dc..3ad700e0c8962350d9e9f1f00c1e2a9e29615b3d 100644 (file)
@@ -45,16 +45,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index 4831ea70c439fec50c8e793433e922e9fcf22023..42f534cd4ed5fa090499cbbcb7bcfbf8f14c1187 100644 (file)
@@ -45,15 +45,15 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(1) {};
+    MySquareFunction () : Function<dim>(1) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
-      { values(0) = value(p,0); };
+      { values(0) = value(p,0); }
 };
 
 
index ee959dd2c82f84feab45dae5d9a72294a859902e..3c0666099af8730befdc4b6cd304226c78938de5 100644 (file)
@@ -45,16 +45,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index e482f9c6ea919e9a721676d0173214efe1ef7d52..db487838e4495e4b71ad912df5642bc0164aac0c 100644 (file)
@@ -45,18 +45,18 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(dim) {};
+    MySquareFunction () : Function<dim>(dim) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       {
        for (unsigned int d=0; d<dim; ++d)
          values(d) = value(p,d);
-      };
+      }
 };
 
 
index 0672d03f37817051920b315e07c5f99a2cf0d9be..0b7b671254221d129800d8a964e0299895f02297 100644 (file)
@@ -45,15 +45,15 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(1) {};
+    MySquareFunction () : Function<dim>(1) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
-      { values(0) = value(p,0); };
+      { values(0) = value(p,0); }
 };
 
 
index 1b480191cfae61ca28b16d037216f8b1de7da7eb..3fc0d8257e9dcccb944a2de030df8892be94160e 100644 (file)
@@ -45,16 +45,16 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(2) {};
+    MySquareFunction () : Function<dim>(2) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
       { values(0) = value(p,0);
-       values(1) = value(p,1); };
+       values(1) = value(p,1); }
 };
 
 
index 1f9104cccea18ea7a15d363794bb74d1fcb0917c..716b6bae6a5410e71896bc8e24160604bf13aa3b 100644 (file)
@@ -45,15 +45,15 @@ template<int dim>
 class MySquareFunction : public Function<dim>
 {
   public:
-    MySquareFunction () : Function<dim>(1) {};
+    MySquareFunction () : Function<dim>(1) {}
     
     virtual double value (const Point<dim>   &p,
                          const unsigned int  component) const
-      {        return (component+1)*p.square(); };
+      {        return (component+1)*p.square(); }
     
     virtual void   vector_value (const Point<dim>   &p,
                                 Vector<double>     &values) const
-      { values(0) = value(p,0); };
+      { values(0) = value(p,0); }
 };
 
 

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.