From f910312a2d50ff236d6fd77c0badcf9fefd57729 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Mon, 14 Jan 2019 23:53:10 +0100 Subject: [PATCH] gfx-effect-source: Make destructor virtual --- source/filter-custom-shader.hpp | 2 +- source/gfx-effect-source.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/filter-custom-shader.hpp b/source/filter-custom-shader.hpp index 0e3c17f..bd2a1d7 100644 --- a/source/filter-custom-shader.hpp +++ b/source/filter-custom-shader.hpp @@ -63,7 +63,7 @@ namespace filter { public: Instance(obs_data_t*, obs_source_t*); - ~Instance(); + virtual ~Instance(); uint32_t get_width(); uint32_t get_height(); diff --git a/source/gfx-effect-source.hpp b/source/gfx-effect-source.hpp index 873a737..4e22345 100644 --- a/source/gfx-effect-source.hpp +++ b/source/gfx-effect-source.hpp @@ -146,7 +146,7 @@ namespace gfx { public: effect_source(obs_data_t* data, obs_source_t* owner); - ~effect_source(); + virtual ~effect_source(); void get_properties(obs_properties_t* properties); static void get_defaults(obs_data_t* data);