Commit 289bcac1 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/core/component_set.hh: Adjust memory pre-allocation size.

parent 83d9bff1
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/core/component_set.hh: Adjust memory pre-allocation size.
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
Enhance documentation in scribo.
......
......@@ -405,7 +405,7 @@ namespace scribo
mln_precondition(infos_.nelements() == 0);
ncomps_ = ncomps;
infos_.reserve(ncomps_);
infos_.reserve(mln::value::next(ncomps_));
infos_.append(component_info<L>()); // Component 0, i.e. the background.
}
......
Supports Markdown
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