From 6c23e0ca2c3fc2d064ca8dd07fdda97ebc265a48 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 30 Sep 2013 01:16:24 +0000 Subject: [PATCH] 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 --- deal.II/include/deal.II/base/data_out_base.h | 4 ++-- deal.II/source/base/data_out_base.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.5