Skip to content

Commit

Permalink
refactor: radiator_list.push_back -> radiator_list.emplace_back
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
  • Loading branch information
c-dilks and veprbl committed Jun 1, 2023
1 parent a073303 commit 78b70d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/global/pid/RichTrack_factory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ void eicrecon::RichTrack_factory::Init() {
std::vector<std::tuple<int, std::string, std::string>> radiator_list; // < radiator_id, radiator_name, output_tag >
for(auto& output_tag : GetOutputTags()) {
auto radiator_id = richgeo::ParseRadiatorName(output_tag, m_log);
radiator_list.push_back({
radiator_list.emplace_back(
radiator_id,
richgeo::RadiatorName(radiator_id, m_log),
output_tag
});
);
}

// configuration parameters
Expand Down

0 comments on commit 78b70d0

Please sign in to comment.