From efad85a925d3482a768017b8bc3d7889513eb031 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Tue, 18 Mar 2014 23:43:23 +0800 Subject: [PATCH] fixes Ticket #9455 --- include/boost/fusion/container/map/detail/map_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/fusion/container/map/detail/map_impl.hpp b/include/boost/fusion/container/map/detail/map_impl.hpp index 9a4b4e01..f70d1392 100644 --- a/include/boost/fusion/container/map/detail/map_impl.hpp +++ b/include/boost/fusion/container/map/detail/map_impl.hpp @@ -83,7 +83,7 @@ namespace boost { namespace fusion { namespace detail BOOST_FUSION_GPU_ENABLED map_impl(map_impl&& rhs) - : rest_type(std::forward(*static_cast(this))) + : rest_type(std::forward(*static_cast(&rhs))) , element(std::forward(rhs.element)) {}