Fix member function already defined under Win32 (Issue 70)
parent
40230dd3bf
commit
f06c968b62
|
|
@ -16,11 +16,10 @@ NAMESPACE_BEGIN(CryptoPP)
|
||||||
class WindowsHandle
|
class WindowsHandle
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~WindowsHandle() {}
|
virtual ~WindowsHandle();
|
||||||
|
|
||||||
WindowsHandle(HANDLE h = INVALID_HANDLE_VALUE, bool own=false);
|
WindowsHandle(HANDLE h = INVALID_HANDLE_VALUE, bool own=false);
|
||||||
WindowsHandle(const WindowsHandle &h) : m_h(h.m_h), m_own(false) {}
|
WindowsHandle(const WindowsHandle &h) : m_h(h.m_h), m_own(false) {}
|
||||||
virtual ~WindowsHandle();
|
|
||||||
|
|
||||||
bool GetOwnership() const {return m_own;}
|
bool GetOwnership() const {return m_own;}
|
||||||
void SetOwnership(bool own) {m_own = own;}
|
void SetOwnership(bool own) {m_own = own;}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue