Skip to content
Snippets Groups Projects
Commit 2de882bf authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'clang.TrigHLTJetHypo-20201118' into 'master'

TrigHLTJetHypo: Fix clang warnings.

See merge request atlas/athena!38369
parents ca6a37c2 756bf244
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
......@@ -136,7 +136,7 @@ TrigJetHypoToolConfig_fastreduction::getCapacityCheckedConditions() const {
// return an invalid optional if any src signals a problem
for(const auto& cm : m_conditionMakers){
conditions.push_back(std::make_unique<CapacityCheckedCondition>(std::move(cm->getCondition())));
conditions.push_back(std::make_unique<CapacityCheckedCondition>(cm->getCondition()));
}
return std::make_optional<ConditionPtrs>(std::move(conditions));
......@@ -148,7 +148,7 @@ TrigJetHypoToolConfig_fastreduction::getConditions() const {
ConditionsMT conditions;
for(const auto& cm : m_conditionMakers){
conditions.push_back(std::move(cm->getCondition()));
conditions.push_back(cm->getCondition());
}
return std::make_optional<ConditionsMT>(std::move(conditions));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment