From 6c1b630d4d8d7aa85987169d4e878909c872ee1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Wed, 28 Jan 2015 20:21:10 +0100 Subject: [PATCH] Use is_class to allow union types for boost::rv<> --- include/boost/move/core.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/move/core.hpp b/include/boost/move/core.hpp index e958487..ad830bd 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -47,7 +47,7 @@ #if defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && !defined(BOOST_MOVE_DOXYGEN_INVOKED) - #include + #include //Move emulation rv breaks standard aliasing rules so add workarounds for some compilers #if defined(__GNUC__) && (__GNUC__ >= 4) && \ @@ -70,7 +70,7 @@ template class rv : public ::boost::move_detail::if_c - < ::boost::move_detail::is_class_or_union::value + < ::boost::move_detail::is_class::value , T , ::boost::move_detail::nat >::type