From 2c4dbd10d22d79f9fc61b218519bb57376b7a671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Mon, 16 Jan 2012 21:24:46 +0000 Subject: [PATCH] Fixed double inline [SVN r76547] --- include/boost/move/move.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/move/move.hpp b/include/boost/move/move.hpp index 4d510f4..1f89d03 100644 --- a/include/boost/move/move.hpp +++ b/include/boost/move/move.hpp @@ -477,19 +477,19 @@ //! This function provides a way to convert a reference into a rvalue reference //! in compilers with rvalue references. For other compilers converts T & into //! ::boost::rv & so that move emulation is activated. - template inline + template rvalue_reference move (input_reference); #elif defined(BOOST_MOVE_OLD_RVALUE_REF_BINDING_RULES) //Old move approach, lvalues could bind to rvalue references - template inline + template inline typename remove_reference::type && move(T&& t) { return t; } #else //Old move - template inline + template inline typename remove_reference::type && move(T&& t) { return static_cast::type &&>(t); } @@ -514,12 +514,12 @@ //! ::boost::rev & //! //! * Else, input_reference is equal to output_reference is equal to input_reference. - template inline output_reference forward(input_reference); + template output_reference forward(input_reference); #elif defined(BOOST_MOVE_OLD_RVALUE_REF_BINDING_RULES) //Old move approach, lvalues could bind to rvalue references - template inline + template inline T&& forward (typename BOOST_MOVE_MPL_NS::identity::type&& t) { return t; }