diff --git a/source/vdfs.cc b/source/vdfs.cc index c6d217f0..0859f489 100644 --- a/source/vdfs.cc +++ b/source/vdfs.cc @@ -149,7 +149,7 @@ namespace phoenix { } void vdf_entry::merge(const vdf_entry& itm, bool override_existing) { - auto result = this->children.find(name); + auto result = this->children.find(itm.name); if (result == this->children.end()) { // If no matching entry was found, this is a new one. // Just add it to the children of this entry.