utils: Fix file wrapper

This commit is contained in:
WerWolv
2021-09-12 20:26:39 +02:00
parent 3cd177bff2
commit ea2d181741
2 changed files with 8 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ namespace hex {
explicit File(const std::string &path, Mode mode);
File();
File(const File&) = delete;
File(File &&other) noexcept;
~File();
bool isValid() { return this->m_file != nullptr; }