diff --git a/src/fs/io/TextFile.cxx b/src/fs/io/TextFile.cxx index 5bdb2b833..40598f1be 100644 --- a/src/fs/io/TextFile.cxx +++ b/src/fs/io/TextFile.cxx @@ -40,7 +40,7 @@ TextFile::TextFile(Path path_fs) { } -TextFile::~TextFile() = default; +TextFile::~TextFile() noexcept = default; char * TextFile::ReadLine() diff --git a/src/fs/io/TextFile.hxx b/src/fs/io/TextFile.hxx index b8997a8a7..ded555674 100644 --- a/src/fs/io/TextFile.hxx +++ b/src/fs/io/TextFile.hxx @@ -44,7 +44,7 @@ public: TextFile(const TextFile &other) = delete; - ~TextFile(); + ~TextFile() noexcept; /** * Reads a line from the input file, and strips trailing