diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:31 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:31 +0200 |
commit | 7a14533d1a270bb7a57be16dce31235604d71e0b (patch) | |
tree | b6169d91eee6b60d45891dae7af8b62313239ec9 /src/util.cpp | |
parent | 87b9b2d7af194b3339ac4c383301c5ed6c383809 (diff) |
misc: fix some minor style issues, fix SCOPE_TRACING compilation
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |