get rid of internal Close() method

This commit is contained in:
ohyzha
2024-11-13 10:24:34 +02:00
parent d88addd858
commit 656615e5a7
3 changed files with 10 additions and 24 deletions

View File

@@ -34,12 +34,10 @@ namespace OpenVulkano
#else
[[nodiscard]] bool InvalidHandle() const { return fileHandle == -1; }
#endif
void Close();
private:
void* address = nullptr;
size_t size = 0;
bool closed = false;
#ifdef _MSC_VER
HANDLE fileHandle;