Make the constructor explicit.

llvm-svn: 107265
This commit is contained in:
Argyrios Kyrtzidis 2010-06-30 08:49:12 +00:00
parent 2a47730767
commit 2b3ac09200
1 changed files with 2 additions and 1 deletions

View File

@ -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,