Skip to content

Commit bb124ff

Browse files
committed
Add BOOST_MOVE_FORCEINLINE for conversion operators.
1 parent 55b5a3e commit bb124ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/boost/move/core.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,12 +262,12 @@
262262

263263
#define BOOST_COPYABLE_AND_MOVABLE(TYPE)\
264264
public:\
265-
inline TYPE& operator=(TYPE &t)\
265+
BOOST_MOVE_FORCEINLINE TYPE& operator=(TYPE &t)\
266266
{ this->operator=(const_cast<const TYPE&>(t)); return *this;}\
267267
public:\
268-
inline operator ::boost::rv<TYPE>&() \
268+
BOOST_MOVE_FORCEINLINE operator ::boost::rv<TYPE>&() \
269269
{ return *BOOST_MOVE_TO_RV_CAST(::boost::rv<TYPE>*, this); }\
270-
inline operator const ::boost::rv<TYPE>&() const \
270+
BOOST_MOVE_FORCEINLINE operator const ::boost::rv<TYPE>&() const \
271271
{ return *BOOST_MOVE_TO_RV_CAST(const ::boost::rv<TYPE>*, this); }\
272272
private:\
273273
//

0 commit comments

Comments
 (0)