mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 16:42:07 +00:00
Retry defaulting the virtual dtor in LoadedObjectInfo
Originally committed in r237975, GCC 4.7 gave a compilation error regarding "looser throw specification" though it seemed to be pointing to a virtual defaulted dtor in a base class and an override defaulted dtor in a derived class - so I'm not quite sure why/how they could end up with different throw specifications. To simplify and reduce the risk of this, I've just removed the pointless override in the derived class, the base class's should be sufficient. *fingers crossed* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239088 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d9335eda7
commit
ea36630528
@ -141,7 +141,7 @@ private:
|
||||
/// on the fly.
|
||||
class LoadedObjectInfo {
|
||||
public:
|
||||
virtual ~LoadedObjectInfo() {}
|
||||
virtual ~LoadedObjectInfo() = default;
|
||||
|
||||
/// Obtain the Load Address of a section by Name.
|
||||
///
|
||||
|
@ -62,8 +62,6 @@ public:
|
||||
unsigned EndIdx)
|
||||
: RTDyld(RTDyld), BeginIdx(BeginIdx), EndIdx(EndIdx) { }
|
||||
|
||||
virtual ~LoadedObjectInfo() = default;
|
||||
|
||||
virtual object::OwningBinary<object::ObjectFile>
|
||||
getObjectForDebug(const object::ObjectFile &Obj) const = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user