|
@@ -119,7 +119,7 @@ namespace {
|
|
|
/// guaranteed that there is a split at Offset.
|
|
|
void erase(unsigned Offset, unsigned NumBytes);
|
|
|
|
|
|
- static inline bool classof(const RopePieceBTreeNode *) { return true; }
|
|
|
+ //static inline bool classof(const RopePieceBTreeNode *) { return true; }
|
|
|
|
|
|
};
|
|
|
} // end anonymous namespace
|
|
@@ -223,7 +223,7 @@ namespace {
|
|
|
/// guaranteed that there is a split at Offset.
|
|
|
void erase(unsigned Offset, unsigned NumBytes);
|
|
|
|
|
|
- static inline bool classof(const RopePieceBTreeLeaf *) { return true; }
|
|
|
+ //static inline bool classof(const RopePieceBTreeLeaf *) { return true; }
|
|
|
static inline bool classof(const RopePieceBTreeNode *N) {
|
|
|
return N->isLeaf();
|
|
|
}
|
|
@@ -455,7 +455,7 @@ namespace {
|
|
|
/// guaranteed that there is a split at Offset.
|
|
|
void erase(unsigned Offset, unsigned NumBytes);
|
|
|
|
|
|
- static inline bool classof(const RopePieceBTreeInterior *) { return true; }
|
|
|
+ //static inline bool classof(const RopePieceBTreeInterior *) { return true; }
|
|
|
static inline bool classof(const RopePieceBTreeNode *N) {
|
|
|
return !N->isLeaf();
|
|
|
}
|