Skip to content

Commit

Permalink
make two static const
Browse files Browse the repository at this point in the history
  • Loading branch information
deguio committed Nov 19, 2014
1 parent d7abff7 commit eb54d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DQM/HcalMonitorTasks/src/HcalDataIntegrityTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ void HcalDataIntegrityTask::setup(DQMStore::IBooker &ib)
HcalBaseDQMonitor::setup(ib);

//Initialize phatmap to a vector of vectors of uint64_t 0
static size_t iphirange = IPHIMAX - IPHIMIN;
static size_t ietarange = IETAMAX - IETAMIN;
const static size_t iphirange = IPHIMAX - IPHIMIN;
const static size_t ietarange = IETAMAX - IETAMIN;

std::vector<uint64_t> phatv (iphirange + 1, 0);

Expand Down

0 comments on commit eb54d14

Please sign in to comment.