diff --git a/src/common/filesystem/include/fs_files.h b/src/common/filesystem/include/fs_files.h index 8ae78b2b39..463ede7ae4 100644 --- a/src/common/filesystem/include/fs_files.h +++ b/src/common/filesystem/include/fs_files.h @@ -206,13 +206,13 @@ public: FileReader() {} - FileReader(FileReader &&r) + FileReader(FileReader &&r) noexcept { mReader = r.mReader; r.mReader = nullptr; } - FileReader& operator =(FileReader &&r) + FileReader& operator =(FileReader &&r) noexcept { Close(); mReader = r.mReader;