mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Simplify memory management.
We no longer need an explicit delete or a polymorphic destructor. llvm-svn: 256333
This commit is contained in:
@@ -31,8 +31,6 @@ public:
|
||||
};
|
||||
}
|
||||
|
||||
InputFile::~InputFile() {}
|
||||
|
||||
template <class ELFT>
|
||||
ELFFileBase<ELFT>::ELFFileBase(Kind K, MemoryBufferRef M)
|
||||
: InputFile(K, M), ELFObj(MB.getBuffer(), ECRAII().getEC()) {}
|
||||
|
||||
Reference in New Issue
Block a user