diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-01-27 18:53:27 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-01-27 18:55:02 -0500 |
| commit | cf4220570c2d1b7105fb29719383f64026d46837 (patch) | |
| tree | 044786645f5310c5877cbe2a274d898aa6c9fddc /ui/preview.h | |
| parent | 6ffbe30facc49f9c993951260068f1f9d490517e (diff) | |
Add virtual non-inline functions for interface classes
This fixes a cases where trying to dynamic_cast to one of these interfaces fails for types defined in libraries, since the linker just copies the full definition into the library because it can, and then breaks the inheritance tree.
Diffstat (limited to 'ui/preview.h')
| -rw-r--r-- | ui/preview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/preview.h b/ui/preview.h index 84f40d79..9d89f1f8 100644 --- a/ui/preview.h +++ b/ui/preview.h @@ -17,7 +17,7 @@ class BINARYNINJAUIAPI PreviewScrollHandler { public: - virtual ~PreviewScrollHandler() {} + virtual ~PreviewScrollHandler(); virtual void sendWheelEvent(QWheelEvent* event) = 0; }; |
