diff options
-rw-r--r-- | include/clang/AST/DeclFriend.h | 3 |
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, |