Commit 392b783c authored by Max Kellermann's avatar Max Kellermann

fs/io/TextFile: add `noexcept`

parent 6d86902a
...@@ -40,7 +40,7 @@ TextFile::TextFile(Path path_fs) ...@@ -40,7 +40,7 @@ TextFile::TextFile(Path path_fs)
{ {
} }
TextFile::~TextFile() = default; TextFile::~TextFile() noexcept = default;
char * char *
TextFile::ReadLine() TextFile::ReadLine()
......
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
TextFile(const TextFile &other) = delete; TextFile(const TextFile &other) = delete;
~TextFile(); ~TextFile() noexcept;
/** /**
* Reads a line from the input file, and strips trailing * Reads a line from the input file, and strips trailing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment