Fix errors when building with GCC 4.6.1 -std=c++0x, which requires

"friend class Foo;" instead of just friend Foo;".

llvm-svn: 155625
This commit is contained in:
Jay Foad 2012-04-26 07:37:08 +00:00
parent 5f365e94c3
commit 4d5e6cf906
1 changed files with 2 additions and 2 deletions

View File

@ -335,8 +335,8 @@ public:
const std::vector<Chunk*> chunks() { return _chunks; }
private:
friend LoadCommandsChunk;
friend LazyBindingInfoChunk;
friend class LoadCommandsChunk;
friend class LazyBindingInfoChunk;
void createChunks(const lld::File &file);
void buildAtomToAddressMap();