diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 17:06:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-19 17:06:23 +0200 |
commit | 79697936ef3ce7f0bbd1965931cdfb4b2c4c9f5b (patch) | |
tree | 91e36f8ffc9add565bcc74cb684f613bbdaa8db7 /ftnoir_filter_base | |
parent | 17f5ad8bc8a10668f4e0968fd5a6c14ac4a034aa (diff) |
Fix proto/filter dtor not being called
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Reported-by: mm0zct
Diffstat (limited to 'ftnoir_filter_base')
-rw-r--r-- | ftnoir_filter_base/ftnoir_filter_base.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_filter_base/ftnoir_filter_base.h b/ftnoir_filter_base/ftnoir_filter_base.h index fe1ad19a..48a4a6b9 100644 --- a/ftnoir_filter_base/ftnoir_filter_base.h +++ b/ftnoir_filter_base/ftnoir_filter_base.h @@ -12,11 +12,13 @@ struct IFilter
{
- virtual ~IFilter() {}
+ virtual ~IFilter() = 0;
virtual void FilterHeadPoseData(const double *target_camera_position, double *new_camera_position, const double *last_post_filter) = 0;
virtual void Initialize() = 0;
};
+inline IFilter::~IFilter() { }
+
struct IFilterDialog
{
virtual ~IFilterDialog() {}
|