From: Daniel Garcia-Sanchez Date: Wed, 12 Aug 2020 12:57:07 +0000 (+0200) Subject: Inline functions X-Git-Tag: v9.3.0-rc1~1169^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a079a0f7372aff0623b262076d24b11ff811dade;p=dealii.git Inline functions --- diff --git a/include/deal.II/base/hdf5.h b/include/deal.II/base/hdf5.h index 52becf1764..8a6a9c179b 100644 --- a/include/deal.II/base/hdf5.h +++ b/include/deal.II/base/hdf5.h @@ -1338,7 +1338,7 @@ namespace HDF5 // operations of DataSet. A property list has to be created for the MPI // driver. For the serial driver the default H5P_DEFAULT can be used. In // addition H5Pset_dxpl_mpio is used to set the MPI mode to collective. - void + inline void set_plist(hid_t &plist, const bool mpi) { if (mpi) @@ -1369,7 +1369,7 @@ namespace HDF5 // query_io_mode is True then H5Pget_mpio_actual_io_mode and // H5Pget_mpio_no_collective_cause are used to check if the operation has // been collective. - void + inline void release_plist(hid_t & plist, H5D_mpio_actual_io_mode_t &io_mode, uint32_t & local_no_collective_cause, @@ -1409,7 +1409,7 @@ namespace HDF5 // Convert a HDF5 no_collective_cause code to a human readable string - std::string + inline std::string no_collective_cause_to_string(const uint32_t no_collective_cause) { std::string message; @@ -1493,7 +1493,7 @@ namespace HDF5 template <> - bool + inline bool HDF5Object::get_attribute(const std::string &attr_name) const { // The enum field generated by h5py can be casted to int @@ -1516,7 +1516,7 @@ namespace HDF5 template <> - std::string + inline std::string HDF5Object::get_attribute(const std::string &attr_name) const { // Reads a UTF8 variable string @@ -1610,7 +1610,7 @@ namespace HDF5 template <> - void + inline void HDF5Object::set_attribute(const std::string &attr_name, const std::string value) // NOLINT {