From 20e5b383c5be4a9e5df747a38ef26f4e40b9d280 Mon Sep 17 00:00:00 2001 From: HanishKVC Date: Sat, 4 May 2024 12:25:57 +0530 Subject: [PATCH] SimpCfg:Trim DumpHexString only if SC_DEBUG_VERBOSE --- common/simpcfg.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/simpcfg.hpp b/common/simpcfg.hpp index a04860714..abc573195 100644 --- a/common/simpcfg.hpp +++ b/common/simpcfg.hpp @@ -56,6 +56,7 @@ #define SC_DEBUG +#undef SC_DEBUG_VERBOSE #define SC_TEST_PRG #ifdef SC_TEST_PRG #define LINFO_LN(FMT, ...) fprintf(stdout, FMT"\n", __VA_ARGS__) @@ -148,7 +149,7 @@ void dumphex_string(const TString &sIn, const std::string &msgTag){ // template TString str_trim_dumb(TString sin, const TString &trimChars=" \t\n") { -#ifdef SC_DEBUG +#ifdef SC_DEBUG_VERBOSE dumphex_string(sin, "DBUG:TrimDumb:Str:"); dumphex_string(trimChars, "DBUG:TrimDumb:Tim:"); #endif