summaryrefslogtreecommitdiff
path: root/shared/check_exist.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/check_exist.h')
-rw-r--r--shared/check_exist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/check_exist.h b/shared/check_exist.h
index 14a8a3f8..8078d388 100644
--- a/shared/check_exist.h
+++ b/shared/check_exist.h
@@ -48,7 +48,7 @@ boost::unique_future<bool> objExistsAsync(const Zstring& objname)
{
//thread safety: make it a pure value type for use in the thread!
const Zstring objnameVal = objname; //atomic ref-count => binary value-type semantics!
- boost::packaged_task<bool> pt([=] { return (*fun)(objnameVal); });
+ boost::packaged_task<bool> pt([ = ] { return (*fun)(objnameVal); });
auto fut = pt.get_future();
boost::thread(std::move(pt));
return std::move(fut);
bgstack15