]> https://gitweb.dealii.org/ - dealii.git/commitdiff
change const bool& parameter to not be a reference in write_hdf5_parallel
authorTimo Heister <timo.heister@gmail.com>
Mon, 30 Sep 2013 01:16:24 +0000 (01:16 +0000)
committerTimo Heister <timo.heister@gmail.com>
Mon, 30 Sep 2013 01:16:24 +0000 (01:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@31023 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/data_out_base.h
deal.II/source/base/data_out_base.cc

index c8d60b3e0fab6839fe47aab1fe188be50d817cc5..5ea4eb017bae3bafdb9dc6cb26cee0ec2950efc1 100644 (file)
@@ -1907,7 +1907,7 @@ public:
   template <int dim, int spacedim>
   static void write_hdf5_parallel (const std::vector<Patch<dim,spacedim> > &patches,
                                    const DataOutFilter &data_filter,
-                                   const bool &write_mesh_file,
+                                   const bool write_mesh_file,
                                    const std::string &mesh_filename,
                                    const std::string &solution_filename,
                                    MPI_Comm comm);
@@ -2698,7 +2698,7 @@ public:
    * is true and the filenames are the same, the resulting file will
    * contain both mesh data and solution values.
    */
-  void write_hdf5_parallel (const DataOutFilter &data_filter, const bool &write_mesh_file, const std::string &mesh_filename, const std::string &solution_filename, MPI_Comm comm) const;
+  void write_hdf5_parallel (const DataOutFilter &data_filter, const bool write_mesh_file, const std::string &mesh_filename, const std::string &solution_filename, MPI_Comm comm) const;
 
   /**
    * DataOutFilter is an intermediate data format that reduces the amount of
index 24cc56da1207e30179a1220eb3e37852f104f1a2..d48f43d6adbac947e225b6be61e8ba626323b375 100644 (file)
@@ -7043,7 +7043,7 @@ write_hdf5_parallel (const DataOutFilter &data_filter, const std::string &filena
 
 template <int dim, int spacedim>
 void DataOutInterface<dim,spacedim>::
-write_hdf5_parallel (const DataOutFilter &data_filter, const bool &write_mesh_file, const std::string &mesh_filename, const std::string &solution_filename, MPI_Comm comm) const
+write_hdf5_parallel (const DataOutFilter &data_filter, const bool write_mesh_file, const std::string &mesh_filename, const std::string &solution_filename, MPI_Comm comm) const
 {
   DataOutBase::write_hdf5_parallel(get_patches(), data_filter, write_mesh_file, mesh_filename, solution_filename, comm);
 }
@@ -7060,7 +7060,7 @@ void DataOutBase::write_hdf5_parallel (const std::vector<Patch<dim,spacedim> > &
 template <int dim, int spacedim>
 void DataOutBase::write_hdf5_parallel (const std::vector<Patch<dim,spacedim> > &patches,
                                        const DataOutFilter &data_filter,
-                                       const bool &write_mesh_file,
+                                       const bool write_mesh_file,
                                        const std::string &mesh_filename,
                                        const std::string &solution_filename,
                                        MPI_Comm comm)

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.