Skip to content
Snippets Groups Projects
Commit 1004b17f authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix bug (GraphComponent::id_ was not set properly)

parent 4b3951ab
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,8 @@ namespace hpp {
void init (const GraphComponentWkPtr_t& weak)
{
wkPtr_ = weak;
components.push_back (wkPtr_);
id_ = components.size();
components.push_back (wkPtr_);
}
GraphComponent() : id_(-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment