]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Removed the constness from the array which is used to initialise the
authoroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Dec 2005 17:19:53 +0000 (17:19 +0000)
committeroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Dec 2005 17:19:53 +0000 (17:19 +0000)
test as gcc4.0.2 complained about this and it should not do any harm
in other configurations.

git-svn-id: https://svn.dealii.org/trunk@11871 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/subcelldata.cc

index 79a843f5c71ede9c441dbe8da060747936bf474a..d85b4e37063dcd35a64d73d66b16e5a6ae8a444e 100644 (file)
 #include <fstream>
 
 
-static const unsigned subcells[6][4] = {{0, 1, 2, 3},
-                                       {4, 5, 6, 7},
-                                       {0, 1, 5, 4},
-                                       {1, 5, 6, 2},
-                                       {3, 2, 6, 7},
-                                       {0, 4, 7, 3}};
+static unsigned subcells[6][4] = {{0, 1, 2, 3},
+                                 {4, 5, 6, 7},
+                                 {0, 1, 5, 4},
+                                 {1, 5, 6, 2},
+                                 {3, 2, 6, 7},
+                                 {0, 4, 7, 3}};
 
 
 

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.