From 9b3154712df45bdce8deb129a1d41d3c638d9b82 Mon Sep 17 00:00:00 2001 From: "Stephen A. Wood" <saw@jlab.org> Date: Wed, 28 Sep 2016 10:20:47 -0400 Subject: [PATCH] Fix bugs (root6 incompatibility?) in hodoscope hitmap examples --- examples/hitmaps_hms.C | 2 +- examples/hitmaps_sos.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hitmaps_hms.C b/examples/hitmaps_hms.C index 0874bc3..a43aa50 100644 --- a/examples/hitmaps_hms.C +++ b/examples/hitmaps_hms.C @@ -25,7 +25,7 @@ h[15] = hnegadc4; for(Int_t ipad=1;ipad<=8;ipad++) { - TPad *pt = c1->cd(ipad); + c1->cd(ipad); Int_t ihp = 2*(ipad-1); Int_t ihn = ihp+1; h[ihp]->SetFillColor(kGreen); diff --git a/examples/hitmaps_sos.C b/examples/hitmaps_sos.C index 2e7f220..0e6a02b 100644 --- a/examples/hitmaps_sos.C +++ b/examples/hitmaps_sos.C @@ -25,7 +25,7 @@ h[15] = snegadc4; for(Int_t ipad=1;ipad<=8;ipad++) { - TPad *pt = c1->cd(ipad); + c1->cd(ipad); Int_t ihp = 2*(ipad-1); Int_t ihn = ihp+1; h[ihp]->SetFillColor(kGreen); -- GitLab