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

AthenaMonitoringKernel: Fix clang warning.

Unused lambda capture.
parent 69e22d13
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,!36701AthenaMonitoringKernel: Fix clang warning.
...@@ -137,7 +137,7 @@ namespace Monitored { ...@@ -137,7 +137,7 @@ namespace Monitored {
// convenience function to provide a function that interprets the cutmask // convenience function to provide a function that interprets the cutmask
std::pair<size_t, std::function<bool(size_t)>> getCutMaskFunc(const Monitored::IMonitoredVariable* mask ) const { std::pair<size_t, std::function<bool(size_t)>> getCutMaskFunc(const Monitored::IMonitoredVariable* mask ) const {
std::function<bool(size_t)> cutMaskValue = [mask] (size_t){ return true; }; // default is true std::function<bool(size_t)> cutMaskValue = [] (size_t){ return true; }; // default is true
size_t maskSize = 1; size_t maskSize = 1;
if ( mask != nullptr ) { if ( mask != nullptr ) {
maskSize = mask->size(); maskSize = mask->size();
......
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