From b1321f638433e3e20ab533672173a0790633c760 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Thu, 25 Jan 2024 16:37:50 +0100 Subject: [PATCH] Use compact notation for default parameter declaration --- src/include/file_io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/file_io.h b/src/include/file_io.h index 8c228098..0a0aad2a 100644 --- a/src/include/file_io.h +++ b/src/include/file_io.h @@ -82,8 +82,8 @@ class HDFFile { * \param fapl_id: `hid_t` File access property list identifier (default is `H5P_DEFAULT`). */ HDFFile( - std::string name, unsigned int flags = H5F_ACC_EXCL, - hid_t fcpl_id = H5P_DEFAULT, hid_t fapl_id = H5P_DEFAULT + std::string name, unsigned int flags=H5F_ACC_EXCL, + hid_t fcpl_id=H5P_DEFAULT, hid_t fapl_id=H5P_DEFAULT ); /*! \brief HDFFile instance destroyer. @@ -104,8 +104,8 @@ class HDFFile { * \return hdf_file: `HDFFile *` Pointer to a new, open HDF5 file. */ static HDFFile* from_schema( - FileSchema &schema, std::string name, unsigned int flags = H5F_ACC_EXCL, - hid_t fcpl_id = H5P_DEFAULT, hid_t fapl_id = H5P_DEFAULT + FileSchema &schema, std::string name, unsigned int flags=H5F_ACC_EXCL, + hid_t fcpl_id=H5P_DEFAULT, hid_t fapl_id=H5P_DEFAULT ); /*! \brief Get current status. -- GitLab