From a81267c8c2a3928f427e07ebb1b324603b27b173 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 4 Oct 2020 08:28:40 +0100 Subject: Silence means silent! --- src/debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/debug.h') diff --git a/src/debug.h b/src/debug.h index 25ba673..ff22756 100644 --- a/src/debug.h +++ b/src/debug.h @@ -118,7 +118,7 @@ inline void fail_msg(std::string msg) { std::raise(SIGINT); // keep stack trace for gdb } -#define info_msg(msg) cerr << "**** INFO: " << msg << "." << endl; +#define info_msg(msg) if (!is_quiet_mode()) cerr << "**** INFO: " << msg << "." << endl; #define msg(msg) info_msg(msg); #if defined NDEBUG -- cgit v1.2.3