From 01e16750d4f772ca869962316580de17840dc22b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 3 Apr 2011 09:50:26 +0000 Subject: [PATCH] Move was detecting clang as an old GCC and applying old-style rvalue-references. [SVN r70924] --- include/boost/move/move.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/move/move.hpp b/include/boost/move/move.hpp index bc1be1e..1d6b3d5 100644 --- a/include/boost/move/move.hpp +++ b/include/boost/move/move.hpp @@ -208,7 +208,9 @@ struct is_base_of #if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ < 5) +#ifndef BOOST_CLANG #define BOOST_MOVE_OLD_RVALUE_REF_BINDING_RULES +#endif #else