Commit 0ce4720e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez

Config: Reserve hash size before populating it

parent c6eaf30f
......@@ -232,6 +232,7 @@ QString Config::connectedOutputsHash() const
QStringList hashedOutputs;
const auto outputs = connectedOutputs();
hashedOutputs.reserve(outputs.count());
for (const OutputPtr &output : outputs) {
hashedOutputs << output->hash();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment