diff --git a/examples/cpp/hello_world/Application.hpp b/examples/cpp/hello_world/Application.hpp index 1a2a2c70981..9d1f01b214b 100644 --- a/examples/cpp/hello_world/Application.hpp +++ b/examples/cpp/hello_world/Application.hpp @@ -33,6 +33,9 @@ class Application { public: + //! Virtual destructor + virtual ~Application() = default; + //! Run application virtual void run() = 0;