diff options
| author | 2018-05-03 08:06:44 -0400 | |
|---|---|---|
| committer | 2018-05-03 08:12:16 -0400 | |
| commit | 732a77d0e83746021ae23b90eab1221ccc1f9bad (patch) | |
| tree | 8a89ef6bcee12b3893c10a4ffd24fe2ffbe0d6cc /src/core/memory_hook.h | |
| parent | Merge pull request #431 from lioncash/fmt (diff) | |
| download | yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.tar.gz yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.tar.xz yuzu-732a77d0e83746021ae23b90eab1221ccc1f9bad.zip | |
memory_hook: Default virtual destructor in the cpp file
Prevents creating multiple copies of the vtable in every translation unit that uses the class.
Also silences a -Wweak-vtables warning
Diffstat (limited to 'src/core/memory_hook.h')
| -rw-r--r-- | src/core/memory_hook.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory_hook.h b/src/core/memory_hook.h index feebd850a..e8ea19333 100644 --- a/src/core/memory_hook.h +++ b/src/core/memory_hook.h | |||
| @@ -23,7 +23,7 @@ namespace Memory { | |||
| 23 | */ | 23 | */ |
| 24 | class MemoryHook { | 24 | class MemoryHook { |
| 25 | public: | 25 | public: |
| 26 | virtual ~MemoryHook() = default; | 26 | virtual ~MemoryHook(); |
| 27 | 27 | ||
| 28 | virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0; | 28 | virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0; |
| 29 | 29 | ||