diff options
Diffstat (limited to 'zen/thread.h')
-rwxr-xr-x | zen/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/thread.h b/zen/thread.h index 0bff5adc..bfb66c31 100755 --- a/zen/thread.h +++ b/zen/thread.h @@ -73,7 +73,7 @@ std::async replacement without crappy semantics: Example: Zstring dirpath = ... - auto ft = zen::runAsync([=](){ return zen::dirExists(dirpath); }); + auto ft = zen::runAsync([=]{ return zen::dirExists(dirpath); }); if (ft.wait_for(std::chrono::milliseconds(200)) == std::future_status::ready && ft.get()) //dir exising */ |