\r
boost::unique_future<boost::property_tree::wptree> info()\r
{\r
- return std::move(executor_.begin_invoke([&]() -> boost::property_tree::wptree\r
+ return std::move(executor_.begin_invoke([this]() -> boost::property_tree::wptree\r
{\r
boost::property_tree::wptree info;\r
BOOST_FOREACH(auto& layer, layers_) \r
\r
boost::unique_future<boost::property_tree::wptree> info(int index)\r
{\r
- return std::move(executor_.begin_invoke([&]() -> boost::property_tree::wptree\r
+ return std::move(executor_.begin_invoke([=]() -> boost::property_tree::wptree\r
{\r
return layers_[index].info();\r
}, high_priority));\r