Add default constructor
This commit is contained in:
@@ -27,6 +27,8 @@ namespace OpenVulkano
|
||||
READ_WRITE
|
||||
};
|
||||
|
||||
MemMappedFile() : m_data(nullptr), m_size(0) {}
|
||||
|
||||
MemMappedFile(const std::filesystem::path& path, FileMode fileMode = READ_ONLY);
|
||||
|
||||
[[nodiscard]] bool IsOpen() const { return m_data; }
|
||||
|
||||
Reference in New Issue
Block a user