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);