refactored FileMode to make more sense

This commit is contained in:
Noel Berry
2021-04-05 01:07:16 -07:00
parent 9e8a181fd2
commit 65f7194e4f
8 changed files with 55 additions and 27 deletions

View File

@ -8,7 +8,7 @@ namespace Blah
{
public:
FileStream();
FileStream(const FilePath& path, FileMode mode = FileMode::ReadWrite);
FileStream(const FilePath& path, FileMode mode);
FileStream(FileStream&& fs) noexcept;
FileStream& operator=(FileStream&& fs) noexcept;
~FileStream();