diff options
Diffstat (limited to 'zen/scope_guard.h')
-rw-r--r-- | zen/scope_guard.h | 2 |
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(); */ |