From 7f66373a69195a2893056c82b3c39aa0af3a121d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 25 Oct 2019 22:08:00 +0200 Subject: [PATCH] [util] Add virtual destructor to NoWrapper --- src/util/com/com_object.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/com/com_object.h b/src/util/com/com_object.h index 674927d4..5c17bf58 100644 --- a/src/util/com/com_object.h +++ b/src/util/com/com_object.h @@ -9,7 +9,13 @@ namespace dxvk { template - using NoWrapper = T; + class NoWrapper : public T { + + public: + + virtual ~NoWrapper() { } + + }; /** * \brief Reference-counted COM object