File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ class GPUErrorQA
5454 void resetHistograms ();
5555
5656 // / return histograms
57- const std::unordered_map<std::string, std::unique_ptr<TH1>>& getMapHist () const { return mMapHist ; };
57+ const std::unordered_map<std::string, std::unique_ptr<TH1>>& getMapHist () const { return mMapHist ; }
5858
5959 // / Dump results to a file
6060 void dumpToFile (std::string filename);
6161
6262 private:
6363 std::unordered_map<std::string, std::unique_ptr<TH1>> mMapHist ;
6464
65- ClassDefNV (GPUErrorQA, 1 );
65+ ClassDefNV (GPUErrorQA, 2 );
6666};
6767} // namespace o2::tpc::qc
6868
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ void GPUErrorQA::dumpToFile(const std::string filename)
6868 auto f = std::unique_ptr<TFile>(TFile::Open (filename.data (), " recreate" ));
6969 TObjArray arr;
7070 arr.SetName (" GPUErrorQA_Hists" );
71- for (const auto & [name, hist] : mMapHist ) {
71+ for ([[maybe_unused]] const auto & [name, hist] : mMapHist ) {
7272 arr.Add (hist.get ());
7373 }
7474 arr.Write (arr.GetName (), TObject::kSingleKey );
You can’t perform that action at this time.
0 commit comments