summaryrefslogtreecommitdiff
path: root/zen/scope_guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/scope_guard.h')
-rw-r--r--zen/scope_guard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/scope_guard.h b/zen/scope_guard.h
index 706b20dc..8477c7ee 100644
--- a/zen/scope_guard.h
+++ b/zen/scope_guard.h
@@ -17,7 +17,7 @@ namespace zen
{
//Scope Guard
/*
- zen::ScopeGuard lockAio = zen::makeGuard([&] { ::CancelIo(hDir); });
+ zen::ScopeGuard lockAio = zen::makeGuard([&] { ::CloseHandle(hDir); });
...
lockAio.dismiss();
*/
bgstack15