From: Timo Heister Date: Mon, 30 Sep 2013 01:16:24 +0000 (+0000) Subject: change const bool& parameter to not be a reference in write_hdf5_parallel X-Git-Tag: v8.1.0~685 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c23e0ca2c3fc2d064ca8dd07fdda97ebc265a48;p=dealii.git change const bool& parameter to not be a reference in write_hdf5_parallel git-svn-id: https://svn.dealii.org/trunk@31023 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/base/data_out_base.h b/deal.II/include/deal.II/base/data_out_base.h index c8d60b3e0f..5ea4eb017b 100644 --- a/deal.II/include/deal.II/base/data_out_base.h +++ b/deal.II/include/deal.II/base/data_out_base.h @@ -1907,7 +1907,7 @@ public: template static void write_hdf5_parallel (const std::vector > &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 diff --git a/deal.II/source/base/data_out_base.cc b/deal.II/source/base/data_out_base.cc index 24cc56da12..d48f43d6ad 100644 --- a/deal.II/source/base/data_out_base.cc +++ b/deal.II/source/base/data_out_base.cc @@ -7043,7 +7043,7 @@ write_hdf5_parallel (const DataOutFilter &data_filter, const std::string &filena template void DataOutInterface:: -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 > & template void DataOutBase::write_hdf5_parallel (const std::vector > &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)