Skip to content

Commit bee9a0c

Browse files
committed
SimpCfg:Trim DumpHexString only if SC_DEBUG_VERBOSE
1 parent 7545947 commit bee9a0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/simpcfg.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757

5858
#define SC_DEBUG
59+
#undef SC_DEBUG_VERBOSE
5960
#define SC_TEST_PRG
6061
#ifdef SC_TEST_PRG
6162
#define LINFO_LN(FMT, ...) fprintf(stdout, FMT"\n", __VA_ARGS__)
@@ -148,7 +149,7 @@ void dumphex_string(const TString &sIn, const std::string &msgTag){
148149
//
149150
template <typename TString>
150151
TString str_trim_dumb(TString sin, const TString &trimChars=" \t\n") {
151-
#ifdef SC_DEBUG
152+
#ifdef SC_DEBUG_VERBOSE
152153
dumphex_string(sin, "DBUG:TrimDumb:Str:");
153154
dumphex_string(trimChars, "DBUG:TrimDumb:Tim:");
154155
#endif

0 commit comments

Comments
 (0)