Revert "[clang-tidy] Reserve memory for vector loop"

This reverts commit 7f86b29aa9.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent 702af00435
commit 7d8fff418e
2 changed files with 0 additions and 2 deletions

View File

@@ -196,7 +196,6 @@ void Hooks::onExit () const
// Convert to a vector of strings.
std::vector <std::string> input;
input.reserve(tasks.size());
for (auto& t : tasks)
input.push_back (t.composeJSON ());