forked from boostorg/move
Make identity operator() const
This commit is contained in:
@ -225,7 +225,7 @@ struct identity
|
||||
{
|
||||
typedef T type;
|
||||
typedef typename add_const_lvalue_reference<T>::type reference;
|
||||
BOOST_MOVE_FORCEINLINE reference operator()(reference t)
|
||||
BOOST_MOVE_FORCEINLINE reference operator()(reference t) const
|
||||
{ return t; }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user