summaryrefslogtreecommitdiff
path: root/boost/move/core.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/move/core.hpp')
-rw-r--r--boost/move/core.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/move/core.hpp b/boost/move/core.hpp
index c9cbec23a1..1dd8a8c271 100644
--- a/boost/move/core.hpp
+++ b/boost/move/core.hpp
@@ -260,8 +260,8 @@
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
public:\
- TYPE& operator=(TYPE &t)\
- { this->operator=(const_cast<const TYPE &>(t)); return *this;}\
+ BOOST_MOVE_FORCEINLINE TYPE& operator=(TYPE &t)\
+ { this->operator=(const_cast<const TYPE&>(t)); return *this;}\
public:\
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\