Skip to content
Snippets Groups Projects
Commit 9cbb83d2 authored by Olivier Couet's avatar Olivier Couet
Browse files

Harmonise "auto" as suggested here:...

parent c27a4eae
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ TPad *right_pad, *top_pad;
void h2proj()
{
auto *c1 = new TCanvas("c1", "c1",900,900);
auto c1 = new TCanvas("c1", "c1",900,900);
gStyle->SetOptStat(0);
TPad *center_pad = new TPad("center_pad", "center_pad",0.0,0.0,0.6,0.6);
......@@ -57,7 +57,7 @@ void h2proj()
t->DrawLatex(0.6,0.88,"This example demonstrates how to display");
t->DrawLatex(0.6,0.85,"a histogram and its two projections.");
auto *ex = new TExec("zoom","ZoomExec()");
auto ex = new TExec("zoom","ZoomExec()");
h2->GetListOfFunctions()->Add(ex);
}
......
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