diff --git a/include/boost/container/experimental/nest.hpp b/include/boost/container/experimental/nest.hpp index b24c95a..49acd47 100644 --- a/include/boost/container/experimental/nest.hpp +++ b/include/boost/container/experimental/nest.hpp @@ -749,12 +749,12 @@ public: return tmp; } - friend bool operator==(const nest_iterator& x, const nest_iterator& y) BOOST_NOEXCEPT + BOOST_CONTAINER_FORCEINLINE friend bool operator==(const nest_iterator& x, const nest_iterator& y) BOOST_NOEXCEPT { return x.pbb == y.pbb && x.n == y.n; } - friend bool operator!=(const nest_iterator& x, const nest_iterator& y) BOOST_NOEXCEPT + BOOST_CONTAINER_FORCEINLINE friend bool operator!=(const nest_iterator& x, const nest_iterator& y) BOOST_NOEXCEPT { return !(x == y); }