Fix member function already defined under Win32 (Issue 70)

pull/347/head
Jeffrey Walton 2016-12-03 00:44:44 -05:00
parent 40230dd3bf
commit f06c968b62
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 2 deletions

View File

@ -16,11 +16,10 @@ NAMESPACE_BEGIN(CryptoPP)
class WindowsHandle
{
public:
virtual ~WindowsHandle() {}
virtual ~WindowsHandle();
WindowsHandle(HANDLE h = INVALID_HANDLE_VALUE, bool own=false);
WindowsHandle(const WindowsHandle &h) : m_h(h.m_h), m_own(false) {}
virtual ~WindowsHandle();
bool GetOwnership() const {return m_own;}
void SetOwnership(bool own) {m_own = own;}