git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches/2.1.0@2467
362d55ac-95cf-4e76-9f9a-
cbaa9c17b72d
CASPAR_VERIFY(counter < 32);\r
\r
auto consumer = new std::shared_ptr<frame_consumer>(std::move(consumer_));\r
- async([=]\r
+ async(launch::async, [=]\r
{\r
std::unique_ptr<std::shared_ptr<frame_consumer>> pointer_guard(consumer);\r
\r
CASPAR_VERIFY(counter < 32);\r
\r
auto producer = new spl::shared_ptr<frame_producer>(std::move(producer_));\r
- async([=]\r
+ async(launch::async, [=]\r
{\r
std::unique_ptr<spl::shared_ptr<frame_producer>> pointer_guard(producer);\r
auto str = (*producer)->print();\r