Browse Source

Merge pull request #422 from stsundermann/master

Fix build error on osx
pull/425/head
João Matos 10 years ago
parent
commit
fd7c2cbe78
  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