Skip to content
Snippets Groups Projects
Commit c23984db authored by scott snyder's avatar scott snyder
Browse files

VP1Base: Fix clang warning.

Misleading indentation.
parent d721811d
No related branches found
No related tags found
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,!39550VP1Base, VP1Gui, VP1HEPVis: Fix clang warnings.
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
......@@ -60,10 +60,10 @@ void VP1Msg::messageWarningRed( const QString& str, IVP1System* sys /* defaults
sys->message(str);
// colors, see:
// - http://brianmilco.blogspot.ch/2011/11/color-debug-output-with-qt-and-qdebug.html
// - http://misc.flogisoft.com/bash/tip_colors_and_formatting
std::string msg = str.toStdString();
fprintf(stderr, "\033[1m\033[31mWarning:\033[21m\033[0m: %s\n", msg.c_str() );
// - http://brianmilco.blogspot.ch/2011/11/color-debug-output-with-qt-and-qdebug.html
// - http://misc.flogisoft.com/bash/tip_colors_and_formatting
std::string msg = str.toStdString();
fprintf(stderr, "\033[1m\033[31mWarning:\033[21m\033[0m: %s\n", msg.c_str() );
}
// The whole 'Warning' message is printed in red
//____________________________________________________________________
......@@ -73,10 +73,10 @@ void VP1Msg::messageWarningAllRed( const QString& str, IVP1System* sys /* defaul
sys->message(str);
// colors, see:
// - http://brianmilco.blogspot.ch/2011/11/color-debug-output-with-qt-and-qdebug.html
// - http://misc.flogisoft.com/bash/tip_colors_and_formatting
std::string msg = str.toStdString();
fprintf(stderr, "\033[1m\033[31mWarning:\033[21m %s\033[0m\n", msg.c_str() );
// - http://brianmilco.blogspot.ch/2011/11/color-debug-output-with-qt-and-qdebug.html
// - http://misc.flogisoft.com/bash/tip_colors_and_formatting
std::string msg = str.toStdString();
fprintf(stderr, "\033[1m\033[31mWarning:\033[21m %s\033[0m\n", msg.c_str() );
}
......
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