Skip to content
Snippets Groups Projects
Commit 4bae9037 authored by Frank Berghaus's avatar Frank Berghaus :cityscape:
Browse files

Remove const classifier in static_cast

The qualifier present in the type for the static_cast generates a
compiler warning. Remove the const classifier as it is troublesome and
unnecessary.
parent 1b08b314
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,!39493Fix compiler warning from qualifier in static_cast
...@@ -127,9 +127,9 @@ else{ ...@@ -127,9 +127,9 @@ else{
{ {
// change the channel number where /Generation/Parameters are found // change the channel number where /Generation/Parameters are found
auto newChannelNumber = auto newChannelNumber =
static_cast< const CondAttrListCollection::ChanNum >(m_newRunNumber); static_cast< CondAttrListCollection::ChanNum >(m_newRunNumber);
auto oldChannelNumber = auto oldChannelNumber =
static_cast< const CondAttrListCollection::ChanNum >(oldRunNumber); static_cast< CondAttrListCollection::ChanNum >(oldRunNumber);
const char* key = "/Generation/Parameters"; const char* key = "/Generation/Parameters";
const IOVMetaDataContainer * iovContainer = nullptr; const IOVMetaDataContainer * iovContainer = nullptr;
......
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