This commit is contained in:
David Kekesi
2024-11-07 12:34:07 +01:00
parent b7c1f75d6a
commit 45ccebc710
@@ -237,7 +237,6 @@ Cargo::Unique Element::getCargo(const Inventory::Item& item) const {
using namespace active::serialise;
switch (item.index) {
case applicationTypeD:
//return std::make_unique<ValueWrap<String>>(getTypeName());
return Cargo::Unique{ new CargoHold<ValueWrap<String>, String>{ getTypeName() } };
default:
return nullptr; //Requested an unknown index