From 6a4359c6684f40f8dd5780c6c9975312c443593e Mon Sep 17 00:00:00 2001
From: Philippe Canal <pcanal@fnal.gov>
Date: Wed, 3 May 2017 18:01:24 -0500
Subject: [PATCH] Tell the compiler (and tools like coverity) that cleanHistos
 is a constexpr.

---
 test/stressHistogram.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/stressHistogram.cxx b/test/stressHistogram.cxx
index 04e39fdae11..d95c1b1c1fd 100644
--- a/test/stressHistogram.cxx
+++ b/test/stressHistogram.cxx
@@ -118,7 +118,7 @@ enum compareOptions {
 int defaultEqualOptions = 0; //cmpOptPrint;
 //int defaultEqualOptions = cmpOptDebug;
 
-Bool_t cleanHistos = kTRUE;   // delete histogram after testing (swict off in case of debugging)
+constexpr Bool_t cleanHistos = kTRUE;   // delete histogram after testing (swicth off in case of debugging)
 
 const double defaultErrorLimit = 1.E-10;
 
-- 
GitLab