From 73c249bb591ae64f3dea6ad88007adde0909844b Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Thu, 30 Nov 2023 23:30:11 +0000 Subject: [PATCH] SWDEV-435168 - Added virtual destructor in StreamCallback Change-Id: I548f34e4f4208658a5a6c35927fc424415186354 [ROCm/clr commit: 8a53c97fd1c1f06f590243d994eabf5c66ed1d35] --- projects/clr/hipamd/src/hip_event.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/clr/hipamd/src/hip_event.hpp b/projects/clr/hipamd/src/hip_event.hpp index fed8b2d959..0f3ec2113b 100644 --- a/projects/clr/hipamd/src/hip_event.hpp +++ b/projects/clr/hipamd/src/hip_event.hpp @@ -34,6 +34,8 @@ protected: : userData_(userData) {} virtual void CL_CALLBACK callback() = 0; + + virtual ~StreamCallback() {}; }; class StreamAddCallback : public StreamCallback {