[TSan] use explicit ctor for BlockingCall

llvm-svn: 168150
This commit is contained in:
Alexey Samsonov 2012-11-16 11:21:07 +00:00
parent 1594fbd07e
commit 4ac66c49da
1 changed files with 1 additions and 1 deletions

View File

@ -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++;