Chromium Code Reviews
Descriptionleak_detector: call transform() with back_inserter
To grow the destination vector dynamically, std::back_inserter must be
passed to std::transform().
There must also be enough space in the destination container before
std::transform() can be called. Call reserve() first to avoid
reallocations.
BUG=chromium:611562
TEST=build successfully
Committed: https://crrev.com/ba7c5f1c1f063f61a96d9749a55854760949c916
Cr-Commit-Position: refs/heads/master@{#394243}
Patch Set 1 #
Messages
Total messages: 13 (8 generated)
|
|||||||||||||||||||