mirror of
https://github.com/boostorg/move.git
synced 2025-07-31 21:04:27 +02:00
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