From c77ea50ef6533c69d91f1d038ea9d1dfbb352974 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 13 Sep 2023 14:13:08 +0200 Subject: [PATCH] Fix docstring --- .../include/k4EDM4hep2LcioConv/MappingUtils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)