From ff9977f8cdd5275448ca19736cd14a6e20c0dac4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 5 May 2009 21:23:20 +0000 Subject: Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71022 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/ValueHandle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index f9b30fc..5c6fb74 100644 --- a/include/llvm/Support/ValueHandle.h +++ b/include/llvm/Support/ValueHandle.h @@ -53,7 +53,8 @@ private: ValueHandleBase *Next; Value *VP; public: - ValueHandleBase(HandleBaseKind Kind) : PrevPair(0, Kind), Next(0), VP(0) {} + explicit ValueHandleBase(HandleBaseKind Kind) + : PrevPair(0, Kind), Next(0), VP(0) {} ValueHandleBase(HandleBaseKind Kind, Value *V) : PrevPair(0, Kind), Next(0), VP(V) { if (V) -- cgit v1.1