Skip to content
Snippets Groups Projects
Commit 60516669 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'cppcheck.TrkExTools-20200417' into 'master'

TrkExTools: Fix cppcheck warning.

See merge request !32119
parents 824cef0f 4afcebc6
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!32119TrkExTools: Fix cppcheck warning.
...@@ -18,7 +18,7 @@ public: ...@@ -18,7 +18,7 @@ public:
} }
return s_ctorCounter == s_dtorCounter; return s_ctorCounter == s_dtorCounter;
} }
static void stat(std::string head="") { static void stat(const std::string& head="") {
std::cout << head std::cout << head
<< "TestObj::stat: constructor and destructor counts " << "TestObj::stat: constructor and destructor counts "
<< s_ctorCounter << " : " << s_dtorCounter << s_ctorCounter << " : " << s_dtorCounter
......
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