]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix compiler error when compiling without p4est
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 16:43:51 +0000 (16:43 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 23 Oct 2010 16:43:51 +0000 (16:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@22434 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/distributed/tria.cc

index b99e8dfd63ec9475659c971bb7d33174f023faa6..1fbcb45b87e285ce3364a5714ba9d4eabbfe57cc 100644 (file)
@@ -47,6 +47,8 @@ DEAL_II_NAMESPACE_OPEN
 
 #ifdef DEAL_II_USE_P4EST
 
+#error A
+
 namespace internal
 {
   namespace p4est
@@ -2963,11 +2965,12 @@ namespace parallel
   }
 }
 
-
 #endif // DEAL_II_USE_P4EST
 
 
 
+#ifdef DEAL_II_USE_P4EST
+
 // explicit instantiations
 namespace internal
 {
@@ -3010,6 +3013,8 @@ namespace parallel
   }
 }
 
+#endif // DEAL_II_USE_P4EST
+
 
 DEAL_II_NAMESPACE_CLOSE
 

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.