]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Things declared inside an anonymous namespace should also be define
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Jan 2003 22:35:17 +0000 (22:35 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 21 Jan 2003 22:35:17 +0000 (22:35 +0000)
inside it, to preserve the internal linkage.

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

deal.II/base/source/data_out_base.cc

index b6d07a6909aadcba41ac1547ebe656c9d28aebd7..425823c4d03cae3b19f55e26088bd6d9b5582737 100644 (file)
@@ -3104,45 +3104,47 @@ namespace
     unsigned int n_cells;
     unsigned int n_vert;
   };
-}
 
 
-inline
-TecplotMacros::TecplotMacros(const unsigned int n_nodes,
-                            const unsigned int n_vars,
-                            const unsigned int n_cells,
-                            const unsigned int n_vert) :
-  n_nodes(n_nodes),
-  n_vars(n_vars),
-  n_cells(n_cells),
-  n_vert(n_vert)
-{
-  nodalData.resize(n_nodes*n_vars);
-  connData.resize(n_cells*n_vert);
-};
+  inline
+  TecplotMacros::TecplotMacros(const unsigned int n_nodes,
+                              const unsigned int n_vars,
+                              const unsigned int n_cells,
+                              const unsigned int n_vert) :
+                 n_nodes(n_nodes),
+                 n_vars(n_vars),
+                 n_cells(n_cells),
+                 n_vert(n_vert)
+  {
+    nodalData.resize(n_nodes*n_vars);
+    connData.resize(n_cells*n_vert);
+  }
 
 
 
-inline
-TecplotMacros::~TecplotMacros()
-{
-};
+  inline
+  TecplotMacros::~TecplotMacros()
+  {
+  }
 
 
 
-inline
-float & TecplotMacros::nd(const unsigned int i, const unsigned int j)
-{
-  return nodalData[(i)*(n_nodes) + (j)]; 
-};
+  inline
+  float & TecplotMacros::nd(const unsigned int i, const unsigned int j)
+  {
+    return nodalData[(i)*(n_nodes) + (j)]; 
+  }
 
 
 
-inline
-int & TecplotMacros::cd(const unsigned int i, const unsigned int j)
-{
-  return connData[(i) + (j)*(n_vert)]; 
-};
+  inline
+  int & TecplotMacros::cd(const unsigned int i, const unsigned int j)
+  {
+    return connData[(i) + (j)*(n_vert)]; 
+  }
+}
+
 
 #endif
 //--------------------------------------------------------

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.