Revert "[clang-tidy] Reserve memory for vector loop"
This reverts commit 7f86b29aa9.
This commit is contained in:
@@ -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 ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user