commit | 1be4ecd2508576cdd75a86935cf5590b7272fc31 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Tue Nov 16 11:26:56 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 16 08:42:15 2021 -0800 |
tree | 53c6a0d36a5032379ec54d7c39f1793be50358ac | |
parent | 975258f89c3aaf306e5cc869b559e3de6170d6b8 [diff] |
[libc++] Add missed comment in https://reviews.llvm.org/D113910 GitOrigin-RevId: 4eda928660890a2aaa223fe6c2f6b7619771a9ab
diff --git a/include/string b/include/string index 5d8473b..6114220 100644 --- a/include/string +++ b/include/string
@@ -2658,7 +2658,7 @@ if (__sz == __cap) { __grow_by(__cap, 1, __sz, __sz, 0); - __is_short = false; + __is_short = false; // the string is always long after __grow_by } pointer __p; if (__is_short)