From: Daniel Arndt Date: Tue, 29 Jan 2019 09:59:11 +0000 (+0100) Subject: performance-unnecessary-value-param X-Git-Tag: v9.1.0-rc1~395^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=723f41aa2dd617dad4529463225c400cd2075bce;p=dealii.git performance-unnecessary-value-param --- diff --git a/source/base/hdf5.cc b/source/base/hdf5.cc index d8fe0dca80..b8c9586790 100644 --- a/source/base/hdf5.cc +++ b/source/base/hdf5.cc @@ -518,16 +518,12 @@ namespace HDF5 template <> void HDF5Object::set_attribute(const std::string &attr_name, - const std::string value) + const std::string value) // NOLINT { // Writes a UTF8 variable string // // code inspired from // https://support.hdfgroup.org/ftp/HDF5/examples/misc-examples/vlstratt.c - // - // In the case of a variable length string, H5Awrite needs the address of a - // (char *). For this reason the std::string value has been copied to a C - // string. hid_t attr; hid_t aid;