From 2b546956a800545bdda2be9682fac21fd1e86736 Mon Sep 17 00:00:00 2001 From: Marcus Fritzsch Date: Tue, 12 Sep 2017 11:29:26 +0200 Subject: util: add scope tracer utility (hack, but more or less useful) Signed-off-by: Marcus Fritzsch --- src/util.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.cpp') diff --git a/src/util.cpp b/src/util.cpp index 1f2bc05..db61bc2 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -24,6 +24,8 @@ #include +thread_local int ScopeTrace::indent = 0; + unique_fd::~unique_fd() { if (this->fd != -1) { close(this->fd); -- cgit 1.2.3-korg