Skip to content
Snippets Groups Projects
Commit c4f5c393 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: correct the IsRoot method

parent 9404121e
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,7 @@ public:
/** Is the paramter a root or a child of another param */
virtual bool IsRoot()
{
return m_Root.IsNull();
return m_Root == this;
}
/** Add a child of this parameter when the param is a Group or a
......
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