Skip to content

Commit e8895c8

Browse files
committed
attempt to fix things for c14 compiler
1 parent 940f794 commit e8895c8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sbndcode/Commissioning/HitDumper_module.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@
8282
#include <string>
8383
#include <cmath>
8484

85-
const int MAX_INT = std::numeric_limits<int>::max();
86-
const long int TIME_CORRECTION = (long int) std::numeric_limits<int>::max() * 2;
8785
const int DEFAULT_VALUE = -9999;
8886

8987
enum CRTOrientation {
@@ -435,6 +433,9 @@ class Hitdumper : public art::EDAnalyzer {
435433
art::ServiceHandle<geo::AuxDetGeometry> fAuxDetGeoService;
436434
const geo::AuxDetGeometry* fAuxDetGeo;
437435
const geo::AuxDetGeometryCore* fAuxDetGeoCore;
436+
437+
const int MAX_INT = std::numeric_limits<int>::max();
438+
const long int TIME_CORRECTION = (long int) std::numeric_limits<int>::max() * 2;
438439
};
439440

440441

0 commit comments

Comments
 (0)