Skip to content
Snippets Groups Projects
Commit 7c0d54fd authored by armar-user's avatar armar-user
Browse files

fix another error in aron dict if member is null

parent 257195e8
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,14 @@ namespace armarx::aron::data
DictPtr ret(new Dict(p));
for (const auto& [key, val] : getElements())
{
ret->addElement(key, val->cloneAsVariant());
if (val)
{
ret->addElement(key, val->cloneAsVariant());
}
else
{
ret->addElement(key, nullptr);
}
}
return ret;
}
......
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