diff --git a/include/boost/container/deque.hpp b/include/boost/container/deque.hpp index 1fa3e5d..159292b 100644 --- a/include/boost/container/deque.hpp +++ b/include/boost/container/deque.hpp @@ -167,7 +167,7 @@ class deque_iterator : m_cur(x.get_cur()), m_first(x.get_first()), m_last(x.get_last()), m_node(x.get_node()) {} - deque_iterator(Pointer cur, Pointer first, Pointer last, index_pointer node) BOOST_NOEXCEPT_OR_NOTHROW + BOOST_CONTAINER_FORCEINLINE deque_iterator(Pointer cur, Pointer first, Pointer last, index_pointer node) BOOST_NOEXCEPT_OR_NOTHROW : m_cur(cur), m_first(first), m_last(last), m_node(node) {} diff --git a/include/boost/container/detail/mpl.hpp b/include/boost/container/detail/mpl.hpp index 4706c58..ffae180 100644 --- a/include/boost/container/detail/mpl.hpp +++ b/include/boost/container/detail/mpl.hpp @@ -69,11 +69,11 @@ struct select1st typedef FirstType type; template - const type& operator()(const T& x) const + BOOST_CONTAINER_FORCEINLINE const type& operator()(const T& x) const { return x.first; } template - type& operator()(T& x) + BOOST_CONTAINER_FORCEINLINE type& operator()(T& x) { return const_cast(x.first); } };