From 612bcc6720b5349906255cd1a016be3a8ef8718f Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Mon, 15 Jun 2015 22:42:41 +0200 Subject: [PATCH] Two more coments --- libheaptrack.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.7.4