From 64fc4570c98e6dcdade270828b78589497760812 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Wed, 6 Mar 2013 15:45:27 -0300 Subject: [PATCH] Try to fix compilation for gcc 4.6 [3] --- src/framework/core/asyncdispatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/core/asyncdispatcher.h b/src/framework/core/asyncdispatcher.h index 4ebd09eb..9e1bd413 100644 --- a/src/framework/core/asyncdispatcher.h +++ b/src/framework/core/asyncdispatcher.h @@ -40,7 +40,7 @@ public: auto prom = std::make_shared::type>>(); m_tasks.push_back([=]() { prom->set_value(task()); }); m_condition.notify_all(); - return prom->get_future().share(); + return boost::shared_future::type>(prom->get_future()); } protected: