Ver Fonte

Merge pull request #8450 from lioncash/undef

gdbstub_arch: Add missing virtual destructor
liamwhite há 4 anos atrás
pai
commit
7ea78699a1
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/core/debugger/gdbstub_arch.h

+ 1 - 0
src/core/debugger/gdbstub_arch.h

@@ -15,6 +15,7 @@ namespace Core {
 
 class GDBStubArch {
 public:
+    virtual ~GDBStubArch() = default;
     virtual std::string GetTargetXML() const = 0;
     virtual std::string RegRead(const Kernel::KThread* thread, size_t id) const = 0;
     virtual void RegWrite(Kernel::KThread* thread, size_t id, std::string_view value) const = 0;