Skip to content
Snippets Groups Projects
Commit 68cbc8fb authored by scott snyder's avatar scott snyder
Browse files

AthenaBaseComps: Fix clang warnings.

Fix clang warnings.
parent 0f3be21f
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!41616AthenaBaseComps: Fix clang warnings.
......@@ -68,7 +68,7 @@ namespace xGaudi {
void visit( T_Component* a_component ) const override { std::invoke( *m_func, a_component ); }
};
recursiveVisit( components, Visitor{&callable}, reject_filter, ignore );
return ignore;
return std::move (ignore);
}
private:
......
......@@ -62,10 +62,10 @@ namespace Ath {
return StatusCode::SUCCESS;
}
void DynamicDataHelper::gatherDataHandlesAndDynamicConsumers(const std::string &parent_name, Gaudi::Algorithm *theAlgorithm) {
void DynamicDataHelper::gatherDataHandlesAndDynamicConsumers(const std::string &/*parent_name*/, Gaudi::Algorithm *theAlgorithm) {
// |> debugging
auto algorithm_visitor =
[this,&parent_name](Gaudi::Algorithm *an_alg) {
[this](Gaudi::Algorithm *an_alg) {
IDynamicDataConsumer *a_dyn_data_consumer=dynamic_cast<IDynamicDataConsumer *>(an_alg);
if (a_dyn_data_consumer) {
m_dynDataConsumer.push_back(std::make_pair(a_dyn_data_consumer, an_alg));
......@@ -76,7 +76,7 @@ namespace Ath {
std::vector<IAlgTool *> &tools ATLAS_THREAD_SAFE
= const_cast< std::vector<IAlgTool *> &>(const_cast<const Gaudi::Algorithm *>(an_alg)->tools());
// |> debugging
auto tool_visitor = [this, an_alg, &parent_name](IAlgTool *alg_tool) {
auto tool_visitor = [this, an_alg](IAlgTool *alg_tool) {
IDynamicDataConsumer *a_dyn_data_consumer=dynamic_cast<IDynamicDataConsumer *>(alg_tool);
if (a_dyn_data_consumer) {
m_dynDataConsumer.push_back(std::make_pair(a_dyn_data_consumer, an_alg));
......
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