Skip to content

Commit

Permalink
[fix] Fixed compiling error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pajama-coder committed Sep 17, 2024
1 parent 142241a commit cb95c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os-platform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ namespace os {
class FileHandle {
public:
FileHandle() : m_handle(INVALID_HANDLE_VALUE) {}
FileHandle(HANDLE handle) : m_handle(handle) {}

static auto std_input() -> FileHandle;
static auto std_output() -> FileHandle;
Expand All @@ -86,7 +87,6 @@ class FileHandle {
void close();

private:
FileHandle(HANDLE handle) : m_handle(handle) {}
HANDLE m_handle;
};

Expand Down

0 comments on commit cb95c2f

Please sign in to comment.