From: Milian Wolff Date: Mon, 15 Jun 2015 20:42:41 +0000 (+0200) Subject: Two more coments X-Git-Tag: submit/tizen/20180620.112952^2~327 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=612bcc6720b5349906255cd1a016be3a8ef8718f;p=sdk%2Ftools%2Fheaptrack.git Two more coments --- diff --git a/libheaptrack.cpp b/libheaptrack.cpp index 1e0f65b..85989a8 100644 --- a/libheaptrack.cpp +++ b/libheaptrack.cpp @@ -62,8 +62,13 @@ enum DebugVerbosity VeryVerboseOutput, }; +// change this to add more debug output to stderr constexpr const DebugVerbosity s_debugVerbosity = NoDebugOutput; +/** + * Call this to optionally show debug information but give the compiler + * a hand in removing it all if debug output is disabled. + */ template inline void debugLog(const char fmt[], Args... args) {