commit | 82d2b2cecfcdeb13dd8762e071ba2d7edf1c0bba | [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:41:51 2021 -0800 |
tree | 53c6a0d36a5032379ec54d7c39f1793be50358ac | |
parent | 10abe8adbfe45c6f9312e67ad571d09d9c23b5f6 [diff] [blame] |
[libc++] Add missed comment in https://reviews.llvm.org/D113910 NOKEYCHECK=True 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)