diff options
Diffstat (limited to 'boost/container/detail/mpl.hpp')
-rw-r--r-- | boost/container/detail/mpl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/container/detail/mpl.hpp b/boost/container/detail/mpl.hpp index 4706c58022..ffae180c85 100644 --- a/boost/container/detail/mpl.hpp +++ b/boost/container/detail/mpl.hpp @@ -69,11 +69,11 @@ struct select1st typedef FirstType type; template<class T> - const type& operator()(const T& x) const + BOOST_CONTAINER_FORCEINLINE const type& operator()(const T& x) const { return x.first; } template<class T> - type& operator()(T& x) + BOOST_CONTAINER_FORCEINLINE type& operator()(T& x) { return const_cast<type&>(x.first); } }; |