diff --git a/include/armadillo_bits/Cube_bones.hpp b/include/armadillo_bits/Cube_bones.hpp index 139138bc..cb662f90 100644 --- a/include/armadillo_bits/Cube_bones.hpp +++ b/include/armadillo_bits/Cube_bones.hpp @@ -401,13 +401,13 @@ class Cube : public BaseCube< eT, Cube > arma_cold inline bool load(const hdf5_name& spec, const file_type type = hdf5_binary); arma_cold inline bool load( std::istream& is, const file_type type = auto_detect); - [[deprecated]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const; - [[deprecated]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const; - [[deprecated]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save(const std::string name, const file_type type = arma_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save(const hdf5_name& spec, const file_type type = hdf5_binary) const; + [[deprecated("use save() instead")]] inline bool quiet_save( std::ostream& os, const file_type type = arma_binary) const; - [[deprecated]] inline bool quiet_load(const std::string name, const file_type type = auto_detect); - [[deprecated]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary); - [[deprecated]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect); + [[deprecated("use load() instead")]] inline bool quiet_load(const std::string name, const file_type type = auto_detect); + [[deprecated("use load() instead")]] inline bool quiet_load(const hdf5_name& spec, const file_type type = hdf5_binary); + [[deprecated("use load() instead")]] inline bool quiet_load( std::istream& is, const file_type type = auto_detect); // iterators