core/debugger: Define defaulted virtual destructors

Resolves an MSVC warning where a virtual destructor is not defined in the base class with virtual functions.
This commit is contained in:
Morph committed 2022-06-01 02:28:34 -04:00
1 parent de2f2e5140
commit 69511aed3d
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -24,6 +24,8 @@ enum class DebuggerAction {
class DebuggerBackend {
public:
virtual ~DebuggerBackend() = default;
/**
* Can be invoked from a callback to synchronously wait for more data.
* Will return as soon as least one byte is received. Reads up to 4096 bytes.
@@ -51,6 +53,8 @@ class DebuggerFrontend {
public:
explicit DebuggerFrontend(DebuggerBackend& backend_) : backend{backend_} {}
virtual ~DebuggerFrontend() = default;
/**
* Called after the client has successfully connected to the port.
*/