Remove unused broken clone function

The base class doesn't have a clone member function, so the code was
never valid. As it was unused, that didn't cause problems until clang
caught this earlier than instantiation in
https://github.com/llvm/llvm-project/pull/84050
This commit is contained in:
Mike Hommey 2024-04-26 07:56:11 +09:00 committed by Thomas A.
parent 6cad9309cd
commit 535344b11e

View File

@ -181,9 +181,6 @@ public:
return NULL; return NULL;
} }
BlobType *clone() const
{ assert(validateBlob()); return specific(this->BlobCore::clone()); }
static BlobType *readBlob(int fd) static BlobType *readBlob(int fd)
{ return specific(BlobCore::readBlob(fd, _magic, sizeof(BlobType), 0), true); } { return specific(BlobCore::readBlob(fd, _magic, sizeof(BlobType), 0), true); }