compiler generated constructors and reduced warnings

This commit is contained in:
Erik Frojdh
2024-04-03 14:12:25 +02:00
parent 31a20d4f6c
commit b02feceb2c
6 changed files with 37 additions and 28 deletions

View File

@ -12,7 +12,7 @@ NumpyFile::NumpyFile(const std::filesystem::path &fname) {
}
load_metadata();
}
NumpyFile::NumpyFile(FileConfig config, header_t header) {
NumpyFile::NumpyFile(FileConfig config, NumpyHeader header) {
mode = "w";
m_fname = config.fname;
m_bitdepth = config.dtype.bitdepth();