summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:31 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:31 +0200
commit7a14533d1a270bb7a57be16dce31235604d71e0b (patch)
treeb6169d91eee6b60d45891dae7af8b62313239ec9 /src/util.cpp
parent87b9b2d7af194b3339ac4c383301c5ed6c383809 (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.cpp2
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); }