mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 04:09:48 +00:00
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:
parent
6cad9309cd
commit
8ef022ae33
@ -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); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user