summaryrefslogtreecommitdiff
path: root/zen/scope_guard.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:56:07 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:56:07 +0200
commitde73d25e0b27f4bee2de116d19cab32800785d64 (patch)
tree21de1736d12a92223ad04c02a5b0826d77e5e71c /zen/scope_guard.h
parent7.1 (diff)
downloadFreeFileSync-de73d25e0b27f4bee2de116d19cab32800785d64.tar.gz
FreeFileSync-de73d25e0b27f4bee2de116d19cab32800785d64.tar.bz2
FreeFileSync-de73d25e0b27f4bee2de116d19cab32800785d64.zip
7.2
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