05-23-2016, 05:37 AM
ok, I'll rework it with Json::Value, shouldn't be too much work.
And look at the copy constructor and assignment op ->
And look at the copy constructor and assignment op ->
Code:
if (a_CopyFrom.GetItemMeta()) {
cItemMeta * meta = GetHandler()->MakeItemMeta();
if (meta) {
meta->FromCopy(a_CopyFrom.GetItemMeta());
SetItemMeta(meta);
}
}