Skip to content
Snippets Groups Projects
Commit 42da082a authored by Max Kahnt's avatar Max Kahnt
Browse files

Fix: Set proper leafChild on construction.

The leafChild was not set if the given element was not a leaf
element but its first descendant (in the sense of hbegin) was
a leaf element.
Presumably, this was introduced in 3c65f9ab
parent 88cf8d1c
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@ public:
if (!hIt_->isLeaf())
increment();
else
leafChild_ = *hIt_;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment