Browse Source

Fix build error on osx

pull/422/head
Stephan Sundermann 10 years ago
parent
commit
a314b8ede6
  1. 2
      src/CppParser/Parser.cpp

2
src/CppParser/Parser.cpp

@ -2412,7 +2412,7 @@ Friend* Parser::WalkFriend(clang::FriendDecl *FD) @@ -2412,7 +2412,7 @@ Friend* Parser::WalkFriend(clang::FriendDecl *FD)
// Work around clangIndex's lack of USR handling for friends and pass the
// pointed to friend declaration instead.
auto USR = GetDeclUSR(FriendDecl ? (Decl*)FriendDecl : FD);
auto USR = GetDeclUSR(FriendDecl ? ((Decl*)FriendDecl) : FD);
if (auto F = NS->FindFriend(USR))
return F;

Loading…
Cancel
Save