summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/CompiledPatch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/CompiledPatch.hpp')
-rw-r--r--src/libs/engine/CompiledPatch.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/engine/CompiledPatch.hpp b/src/libs/engine/CompiledPatch.hpp
index f5de52e1..953d94d6 100644
--- a/src/libs/engine/CompiledPatch.hpp
+++ b/src/libs/engine/CompiledPatch.hpp
@@ -39,7 +39,8 @@ struct CompiledNode {
{
// Copy to a vector for maximum iteration speed and cache optimization
// (Need to take a copy anyway)
-
+
+ _dependants.reserve(d->size());
for (List<Node*>::iterator i = d->begin(); i != d->end(); ++i)
_dependants.push_back(*i);
}