From ad16de6c31124d42e1f821c4e879a05cfbf6c67e Mon Sep 17 00:00:00 2001 From: Tetiana Moskalets <tetiana.moskalets@cern.ch> Date: Wed, 20 Feb 2019 16:18:25 +0000 Subject: [PATCH] replace std::cerr with the Athena logging service in Herwig7.h --- Generators/Herwig7_i/Herwig7_i/Herwig7.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Generators/Herwig7_i/Herwig7_i/Herwig7.h b/Generators/Herwig7_i/Herwig7_i/Herwig7.h index ed0d49dde66..8ff8cc7a31e 100644 --- a/Generators/Herwig7_i/Herwig7_i/Herwig7.h +++ b/Generators/Herwig7_i/Herwig7_i/Herwig7.h @@ -76,9 +76,7 @@ public: /// Bail out and print usage information virtual void quitWithHelp() const { - std::cerr << "=================================\n"; - std::cerr << "HERE I CAN PUT SOME ERROR MESSAGE\n"; - std::cerr << "=================================\n"; + ATH_MSG_ERROR("HERE I CAN PUT SOME ERROR MESSAGE") ThePEG::Repository::cleanup(); exit( EXIT_FAILURE ); } -- GitLab