diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_interceptors.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index af929126731..379de0b3ee1 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -163,7 +163,7 @@ ScopedInterceptor::~ScopedInterceptor() { #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name)) struct BlockingCall { - BlockingCall(ThreadState *thr) + explicit BlockingCall(ThreadState *thr) : ctx(SigCtx(thr)) { CHECK_EQ(ctx->in_blocking_func, 0); ctx->in_blocking_func++; |

