mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Common/DebugInterface: Default virtual destructor
While we're at it, we can also default the constructor and destructor of inheriting classes in their respective cpp file to prevent the construction and destruction of non-trivial types being inlined into other regions of code.
This commit is contained in:
parent
bc8778203e
commit
b1b9c6aa1e
5 changed files with 13 additions and 3 deletions
|
@ -18,7 +18,7 @@ namespace Common
|
|||
class DebugInterface
|
||||
{
|
||||
protected:
|
||||
virtual ~DebugInterface() {}
|
||||
virtual ~DebugInterface() = default;
|
||||
|
||||
public:
|
||||
// Watches
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue