From 7a14533d1a270bb7a57be16dce31235604d71e0b Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 12 Sep 2017 11:29:31 +0200 Subject: misc: fix some minor style issues, fix SCOPE_TRACING compilation Signed-off-by: Marcus Fritzsch --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.cpp') diff --git a/src/util.cpp b/src/util.cpp index 44c377c..c178d90 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -26,7 +26,7 @@ #ifdef SCOPE_TRACING thread_local int ScopeTrace::indent = 0; -explicit ScopeTrace::ScopeTrace(char const *func) : f(func) { +ScopeTrace::ScopeTrace(char const *func) : f(func) { fprintf(stderr, "%lu %*s%s -->\n", pthread_self(), 2 * indent++, "", this->f); } ScopeTrace::~ScopeTrace() { fprintf(stderr, "%lu %*s%s <--\n", pthread_self(), 2 * --indent, "", this->f); } -- cgit 1.2.3-korg