Spell out the template args for compilers having issues with the injected class

name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2014-09-15 16:13:33 +00:00
parent 57a73c27b1
commit 187089d412

View File

@ -165,7 +165,8 @@ template <> struct isPodLike<BitCodeAbbrevOp> { static const bool value=true; };
class BitCodeAbbrev : public RefCountedBase<BitCodeAbbrev> {
SmallVector<BitCodeAbbrevOp, 32> OperandList;
~BitCodeAbbrev() {}
friend class RefCountedBase; // Only RefCountedBase is allowed to delete.
// Only RefCountedBase is allowed to delete.
friend class RefCountedBase<BitCodeAbbrev>;
public:
unsigned getNumOperandInfos() const {