From 6c13bd4918dab8724af6442c2ccf6075b99308b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sat, 16 Mar 2013 19:30:19 +0000 Subject: [PATCH] Fixed error with repr swap [SVN r83468] --- include/boost/container/string.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());