]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark functions in anonymous namespaces static, if compiler bugs force
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 29 Apr 2003 16:22:19 +0000 (16:22 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 29 Apr 2003 16:22:19 +0000 (16:22 +0000)
us to do so.

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

deal.II/deal.II/source/fe/fe_q.cc

index aa166ffcc4b924b40118705f618888784995942e..b6c93f2ddf3db1a08275aa9f5277b9bb5f361b0a 100644 (file)
@@ -25,6 +25,9 @@
 
 namespace 
 {
+#ifdef DEAL_II_ANON_NAMESPACE_BUG
+  static
+#endif
   std::vector<unsigned int>
   invert_numbering (const std::vector<unsigned int> &in)
   {

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.