]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not mark functions in anonymous namespaces as 'static'. 14409/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Nov 2022 18:40:43 +0000 (11:40 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 10 Nov 2022 20:49:44 +0000 (13:49 -0700)
source/base/data_out_base.cc

index c520da53c4ee62c27e1c633ee664a01eba59c540..78da77189acfc2838b67655428e91e5211542bb5 100644 (file)
@@ -1076,7 +1076,7 @@ namespace
 
 
   template <int dim, int spacedim>
-  static void
+  void
   compute_sizes(const std::vector<DataOutBase::Patch<dim, spacedim>> &patches,
                 unsigned int &                                        n_nodes,
                 unsigned int &                                        n_cells)
@@ -1109,7 +1109,7 @@ namespace
 
 
   template <int dim, int spacedim>
-  static void
+  void
   compute_sizes(const std::vector<DataOutBase::Patch<dim, spacedim>> &patches,
                 const bool    write_higher_order_cells,
                 unsigned int &n_nodes,

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.