Skip to content

Commit

Permalink
OrcLib: Utils: Guard: FileHandle: add 'HANDLE operator*()'
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Jan 26, 2021
1 parent 1dbf892 commit 837194d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OrcLib/Utils/Guard.h
Expand Up @@ -86,6 +86,7 @@ class FileHandle final

operator ::HANDLE() const { return m_handle.get(); }
HANDLE get() const { return m_handle.get(); }
HANDLE operator*() const { return m_handle.get(); }

private:
std::shared_ptr<void> m_handle;
Expand Down

0 comments on commit 837194d

Please sign in to comment.