From 337ae68a003d0c79c5579ff29004f35f91287596 Mon Sep 17 00:00:00 2001 From: Damian Bomba Date: Thu, 5 Sep 2024 09:09:43 +0200 Subject: [PATCH] Add virtual destructor to scheduler_interface struct in pplxinterface.h --- Release/include/pplx/pplxinterface.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Release/include/pplx/pplxinterface.h b/Release/include/pplx/pplxinterface.h index 4e5ca5bfc6..694dfc5ecb 100644 --- a/Release/include/pplx/pplxinterface.h +++ b/Release/include/pplx/pplxinterface.h @@ -51,6 +51,7 @@ typedef void(_pplx_cdecl* TaskProc_t)(void*); struct __declspec(novtable) scheduler_interface { virtual void schedule(TaskProc_t, _In_ void*) = 0; + virtual ~scheduler_interface() = default; }; ///