From db37c91607cd832767a951c8ec541dfb630d9559 Mon Sep 17 00:00:00 2001 From: Li Cao Date: Thu, 14 Nov 2024 11:17:09 +0800 Subject: [PATCH] [posix] add virtual destructor for InfraIf::Dependencies --- src/ncp/posix/infra_if.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ncp/posix/infra_if.hpp b/src/ncp/posix/infra_if.hpp index 9bfe22d0590..35163b7b3c2 100644 --- a/src/ncp/posix/infra_if.hpp +++ b/src/ncp/posix/infra_if.hpp @@ -57,6 +57,8 @@ class InfraIf class Dependencies { public: + virtual ~Dependencies(void) = default; + virtual otbrError SetInfraIf(unsigned int aInfraIfIndex, bool aIsRunning, const std::vector &aIp6Addresses);