diff options
author | 2021-05-04 09:52:56 -0700 | |
---|---|---|
committer | 2021-05-04 13:46:18 -0400 | |
commit | cba8cf87bcaac32e90a366fa16216ee89f7f61cc (patch) | |
tree | 64df1ab20ff988498a18e5b0fde96f5d27c15d74 /absl/strings/cord.h | |
parent | a9831f1cbf93fb18dd951453635f488037454ce9 (diff) |
Export of internal Abseil changes
--
5d6734366ec54997df5234ac3b7e21015d7d5fde by Martijn Vels <mvels@google.com>:
Increase slop for unit test to reduce flakiness of test
PiperOrigin-RevId: 371935786
--
6e97ff23e7f732ebf969bbc69102e5e677aae8cd by Martijn Vels <mvels@google.com>:
Add node and memory usage stats analysis to GetCordzStatistics.
PiperOrigin-RevId: 371893353
--
17f7443e6f988f25efa25c2291c1cde191af2bf2 by Martijn Vels <mvels@google.com>:
Add check on n == 0 in CordReader::ReadCord, which breaks invariants in the ring buffer code.
PiperOrigin-RevId: 371738207
GitOrigin-RevId: 5d6734366ec54997df5234ac3b7e21015d7d5fde
Change-Id: I0fc883f4f49f2380ab9afddbdfe6eb5ccc15dfc3
Diffstat (limited to 'absl/strings/cord.h')
-rw-r--r-- | absl/strings/cord.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/absl/strings/cord.h b/absl/strings/cord.h index 8abc4742..5c80a5cb 100644 --- a/absl/strings/cord.h +++ b/absl/strings/cord.h @@ -1077,6 +1077,7 @@ inline cord_internal::CordRepFlat* Cord::InlineRep::MakeFlatWithExtraCapacity( inline void Cord::InlineRep::EmplaceTree(CordRep* rep, MethodIdentifier method) { + assert(rep); data_.make_tree(rep); CordzInfo::MaybeTrackCord(data_, method); } |