Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Sep 13, 2023
1 parent ec93a42 commit c77ea50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/MappingUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 MapT, typename KeyT = key_t<MapT>, typename MappedT = key_t<MapT>>
auto mapInsert(KeyT&& key, MappedT&& mapped, MapT& map, InsertMode insertMode = InsertMode::Unchecked)
Expand Down

0 comments on commit c77ea50

Please sign in to comment.