diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/MappingUtils.h b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/MappingUtils.h index 08b46570..127f5a74 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/MappingUtils.h +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/MappingUtils.h @@ -131,10 +131,10 @@ namespace k4EDM4hep2LcioConv { /** * Insert a key-value pair into a "map" * - * safeInsert argument can be useld to check for existence of key first, - * before inserting. This is only useful for maps using a vector as backing, - * since the usual emplace already does this check and does not insert if a - * key already exists + * The InsertMode argument can be useld to check whether the Key already + * exists in the map before inserting. This is only useful for maps using a + * vector as backing, since the usual emplace already does this check and + * does not insert if a key already exists */ template, typename MappedT = key_t> auto mapInsert(KeyT&& key, MappedT&& mapped, MapT& map, InsertMode insertMode = InsertMode::Unchecked)