2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
Simplify.
From-SVN: r108036
+2005-12-04 Paolo Carlini <pcarlini@suse.de>
+
+ * include/ext/sso_string_base.h (__sso_string_base<>::_M_reserve):
+ Simplify.
+
2005-12-04 Paolo Carlini <pcarlini@suse.de>
* include/ext/vstring.h (__versa_string<>::operator+, all
}
else if (!_M_is_local())
{
- const size_type __tmp_capacity = _M_allocated_capacity;
_S_copy(_M_local_data, _M_data(), _M_length() + 1);
- _M_destroy(__tmp_capacity + 1);
+ _M_destroy(__capacity + 1);
_M_data(_M_local_data);
}
}