]> git.sesse.net Git - casparcg/commitdiff
git-svn-id: https://casparcg.svn.sourceforge.net/svnroot/casparcg/server/branches...
authorronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Tue, 29 Nov 2011 22:55:40 +0000 (22:55 +0000)
committerronag <ronag@362d55ac-95cf-4e76-9f9a-cbaa9c17b72d>
Tue, 29 Nov 2011 22:55:40 +0000 (22:55 +0000)
core/producer/stage.cpp

index d52d98379991a260e55bdb5e59b500dfc8a3c3aa..9f5bc86a683134cbd8345d2ba12a147ea611f084 100644 (file)
@@ -156,7 +156,7 @@ public:
        \r
        boost::unique_future<std::wstring> call(int index, bool foreground, const std::wstring& param)\r
        {\r
-               return std::move(*executor_.invoke([&]() -> std::shared_ptr<boost::unique_future<std::wstring>>\r
+               return std::move(*executor_.invoke([&]\r
                {\r
                        return std::make_shared<boost::unique_future<std::wstring>>(std::move(layers_[index].call(foreground, param)));\r
                }, high_priority));\r