diff --git a/include/boost/container/string.hpp b/include/boost/container/string.hpp index 4aa6ce7..e97f789 100644 --- a/include/boost/container/string.hpp +++ b/include/boost/container/string.hpp @@ -426,7 +426,7 @@ class basic_string_base { if(this->is_short()){ if(other.is_short()){ - boost::container::swap_dispatch(this->members_.m_repr, other.members_.m_repr); + std::swap(this->members_.m_repr, other.members_.m_repr); } else{ short_t short_backup(this->members_.m_repr.short_repr());