mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-11 16:07:10 -06:00
23.01
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// Windows/Handle.h
|
||||
|
||||
#ifndef __WINDOWS_HANDLE_H
|
||||
#define __WINDOWS_HANDLE_H
|
||||
#ifndef ZIP7_INC_WINDOWS_HANDLE_H
|
||||
#define ZIP7_INC_WINDOWS_HANDLE_H
|
||||
|
||||
#include "../Common/MyTypes.h"
|
||||
#include "../Common/MyWindows.h"
|
||||
|
||||
namespace NWindows {
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
void Attach(HANDLE handle) { _handle = handle; }
|
||||
HANDLE Detach()
|
||||
{
|
||||
HANDLE handle = _handle;
|
||||
const HANDLE handle = _handle;
|
||||
_handle = NULL;
|
||||
return handle;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user