projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.72.0
[platform/upstream/boost.git]
/
boost
/
container
/
string.hpp
diff --git
a/boost/container/string.hpp
b/boost/container/string.hpp
index
46ca567
..
516b701
100644
(file)
--- a/
boost/container/string.hpp
+++ b/
boost/container/string.hpp
@@
-712,7
+712,7
@@
class basic_string
: base_t(a)
{
this->priv_terminate_string();
- if(
a
== this->alloc()){
+ if(
s.alloc()
== this->alloc()){
this->swap_data(s);
}
else{