diff --git a/src/common/small_string.cpp b/src/common/small_string.cpp index 80feac71b..1284b7e29 100644 --- a/src/common/small_string.cpp +++ b/src/common/small_string.cpp @@ -460,7 +460,7 @@ void SmallStringBase::assign(SmallStringBase&& move) } else { - assign(move.m_buffer, move.m_buffer_size); + assign(move.m_buffer, move.m_length); } }