From 2b3ac092001c7d95c07ef8506604812c611015c4 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Wed, 30 Jun 2010 08:49:12 +0000 Subject: [PATCH] Make the constructor explicit. llvm-svn: 107265 --- clang/include/clang/AST/DeclFriend.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/AST/DeclFriend.h b/clang/include/clang/AST/DeclFriend.h index 85085c3080b5..2807d16379ae 100644 --- a/clang/include/clang/AST/DeclFriend.h +++ b/clang/include/clang/AST/DeclFriend.h @@ -59,7 +59,8 @@ private: FriendLoc(FriendL) { } - FriendDecl(EmptyShell Empty) : Decl(Decl::Friend, Empty), NextFriend(0) { } + explicit FriendDecl(EmptyShell Empty) + : Decl(Decl::Friend, Empty), NextFriend(0) { } public: static FriendDecl *Create(ASTContext &C, DeclContext *DC,