mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 14:04:26 +02:00
Fixed error with repr swap
[SVN r83468]
This commit is contained in:
@@ -426,7 +426,7 @@ class basic_string_base
|
|||||||
{
|
{
|
||||||
if(this->is_short()){
|
if(this->is_short()){
|
||||||
if(other.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{
|
else{
|
||||||
short_t short_backup(this->members_.m_repr.short_repr());
|
short_t short_backup(this->members_.m_repr.short_repr());
|
||||||
|
Reference in New Issue
Block a user