git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.1.0@2078
362d55ac-95cf-4e76-9f9a-
cbaa9c17b72d
\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