From: Martin Kronbichler Date: Mon, 28 Mar 2011 09:24:26 +0000 (+0000) Subject: Make work with gcc-4.6. X-Git-Tag: v8.0.0~4201 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dbe9f69f95e39512a69c80e8865ecebc97c0817;p=dealii.git Make work with gcc-4.6. git-svn-id: https://svn.dealii.org/trunk@23541 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/point_difference_01.cc b/tests/bits/point_difference_01.cc index 7f4baf5189..56e4b87a8d 100644 --- a/tests/bits/point_difference_01.cc +++ b/tests/bits/point_difference_01.cc @@ -38,6 +38,8 @@ template class MySquareFunction : public Function { public: + MySquareFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return (component+1)*p.square()+1; } @@ -52,6 +54,8 @@ template class MyExpFunction : public Function { public: + MyExpFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return std::exp (p(0)); } diff --git a/tests/bits/point_difference_02.cc b/tests/bits/point_difference_02.cc index eea95d8b84..ef214c4fd8 100644 --- a/tests/bits/point_difference_02.cc +++ b/tests/bits/point_difference_02.cc @@ -42,6 +42,8 @@ template class MySquareFunction : public Function { public: + MySquareFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return (component+1)*p.square()+1; } @@ -56,6 +58,8 @@ template class MyExpFunction : public Function { public: + MyExpFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return std::exp (p(0)); } diff --git a/tests/bits/point_value_01.cc b/tests/bits/point_value_01.cc index b5edd95cff..4e51139321 100644 --- a/tests/bits/point_value_01.cc +++ b/tests/bits/point_value_01.cc @@ -37,6 +37,8 @@ template class MySquareFunction : public Function { public: + MySquareFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return (component+1)*p.square()+1; } @@ -51,6 +53,8 @@ template class MyExpFunction : public Function { public: + MyExpFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return std::exp (p(0)); } diff --git a/tests/bits/point_value_02.cc b/tests/bits/point_value_02.cc index 04e3f73968..318265ae89 100644 --- a/tests/bits/point_value_02.cc +++ b/tests/bits/point_value_02.cc @@ -38,6 +38,8 @@ template class MySquareFunction : public Function { public: + MySquareFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return (component+1)*p.square()+1; } @@ -52,6 +54,8 @@ template class MyExpFunction : public Function { public: + MyExpFunction () : Function () {} + virtual double value (const Point &p, const unsigned int component) const { return std::exp (p(0)); }