From: bangerth Date: Thu, 6 Sep 2007 03:33:29 +0000 (+0000) Subject: Add casts when taking the address of a template function to prevent internal compiler... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c138d50fa9ea1a87d9aba8188b291acedb36d027;p=dealii-svn.git Add casts when taking the address of a template function to prevent internal compiler errors in icc10.0 on itanium git-svn-id: https://svn.dealii.org/trunk@15134 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/cylinder_02.cc b/tests/bits/cylinder_02.cc index 8b39c6c8e2..de6f9ab384 100644 --- a/tests/bits/cylinder_02.cc +++ b/tests/bits/cylinder_02.cc @@ -48,7 +48,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1,1); triangulation.set_boundary (0, boundary); diff --git a/tests/bits/cylinder_03.cc b/tests/bits/cylinder_03.cc index 1904fb2de4..3e030c1d7a 100644 --- a/tests/bits/cylinder_03.cc +++ b/tests/bits/cylinder_03.cc @@ -45,7 +45,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1,2); triangulation.set_boundary (0, boundary); diff --git a/tests/bits/cylinder_04.cc b/tests/bits/cylinder_04.cc index ce8e6d0c8b..f3d91cf0ef 100644 --- a/tests/bits/cylinder_04.cc +++ b/tests/bits/cylinder_04.cc @@ -49,7 +49,7 @@ void check () Triangulation triangulation; GridGenerator::cylinder (triangulation); - GridTools::transform (&rotate_to_y, triangulation); + GridTools::transform ((Point (*)(const Point&))&rotate_to_y, triangulation); static const CylinderBoundary boundary (1, Point(std::cos(xy_angle), std::sin(xy_angle), 0),