Commit ce97be8f authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/core/object_links.hh: Always initialize links in non-default constructors.

parent 289bcac1
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/core/object_links.hh: Always initialize links in
non-default constructors.
2013-04-17 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/core/component_set.hh: Adjust memory pre-allocation size.
......
......@@ -207,6 +207,9 @@ namespace scribo
object_links<L>::object_links(const component_set<L>& components)
{
data_ = new data_t(components, value::next(components.nelements()));
// Initialize with no link.
init();
}
......
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