From 210da842d8e2c9041d48f058e0220cb9b331b901 Mon Sep 17 00:00:00 2001 From: Christopher Hunt Date: Fri, 31 Aug 2018 19:04:05 -0400 Subject: [PATCH] Move may_alias attribute for xlC++ compatibility. This also aligns usage of the `may_alias` attribute with other boost libraries. Fixes #19. --- 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 c0f5be5..6e7d726 100644 --- a/include/boost/move/core.hpp +++ b/include/boost/move/core.hpp @@ -70,7 +70,7 @@ // ////////////////////////////////////////////////////////////////////////////// template - class rv + class BOOST_MOVE_ATTRIBUTE_MAY_ALIAS rv : public ::boost::move_detail::if_c < ::boost::move_detail::is_class::value , T @@ -81,7 +81,7 @@ ~rv() throw(); rv(rv const&); void operator=(rv const&); - } BOOST_MOVE_ATTRIBUTE_MAY_ALIAS; + }; //////////////////////////////////////////////////////////////////////////////