Skip to content

Commit

Permalink
Adopt a suggestion for improving comments
Browse files Browse the repository at this point in the history
Co-authored-by: Andre Sailer <[email protected]>
  • Loading branch information
2 people authored and MarkusFrankATcernch committed Jul 22, 2024
1 parent e6ec5ca commit 7967bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DDCore/src/GeoHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ detail::GeoHandler& detail::GeoHandler::i_collect(const TGeoNode* /* parent */,
}
}
/// Collect the hierarchy of placements
/// perform lookup using std::set::emplace (faster than std::find for the large number of geometries)
/// perform lookup using std::set::emplace (faster than std::find for very large number of volumes)
if ( (*m_set_data)[level].emplace(current).second ) {
(*m_data)[level].push_back(current);
}
Expand Down

0 comments on commit 7967bdf

Please sign in to comment.