From 9174cdb0bf63e76765bd30e9e261a26f813f8caf Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 25 Sep 2002 22:51:23 +0000 Subject: [PATCH] Avoid a warning with icc. git-svn-id: https://svn.dealii.org/trunk@6522 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_tools.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/grid/grid_tools.cc b/deal.II/deal.II/source/grid/grid_tools.cc index ce039688cd..d7109293f0 100644 --- a/deal.II/deal.II/source/grid/grid_tools.cc +++ b/deal.II/deal.II/source/grid/grid_tools.cc @@ -114,7 +114,10 @@ namespace }; - + // the following class is only + // needed in 2d, so avoid trouble + // with compilers warning otherwise +#if deal_II_dimension == 2 class Rotate2d { public: @@ -130,6 +133,7 @@ namespace private: const double angle; }; +#endif template -- 2.39.5