aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-30 08:49:12 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2010-06-30 08:49:12 +0000
commit0ab5de16a47d64ba7cc8ca2e31b679daeae963fe (patch)
treee95ce830a7b93473227d130c29b8630ff637ad5d
parent0b8fe8c68eb503b9955f13c0c27b18b1f8321158 (diff)
Make the constructor explicit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107265 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/DeclFriend.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/DeclFriend.h b/include/clang/AST/DeclFriend.h
index 85085c3080..2807d16379 100644
--- a/include/clang/AST/DeclFriend.h
+++ b/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,