From 0e8e857c2f97a50410ee48cd8ba4e1e30a104ffb Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Mon, 22 Jun 2015 23:43:49 +0900 Subject: [PATCH] Fix fusion::make_list return type. --- include/boost/fusion/container/generation/make_list.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/fusion/container/generation/make_list.hpp b/include/boost/fusion/container/generation/make_list.hpp index 13eba30d..e88f553a 100644 --- a/include/boost/fusion/container/generation/make_list.hpp +++ b/include/boost/fusion/container/generation/make_list.hpp @@ -27,16 +27,16 @@ namespace boost { namespace fusion template struct make_list { - typedef list type; + typedef list::type...> type; }; } template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - inline list::type...> + inline typename result_of::make_list::type make_list(T const&... arg) { - return list::type...>(arg...); + return typename result_of::make_list::type(arg...); } }}