From 4f6bbba3170dc9b1f0c671298e12d8b49c160ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <35096584+delpinux@users.noreply.github.com> Date: Sun, 8 Apr 2018 13:40:30 +0200 Subject: [PATCH] Added missing virtual App::~App() (#98) * Added missing virtual App::~App() * fixed destructor style --- include/CLI/App.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index 0c890728..543b85a1 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -197,6 +197,9 @@ class App { set_help_flag("-h,--help", "Print this help message and exit"); } + /// virtual destructor + virtual ~App() = default; + /// Set a callback for the end of parsing. /// /// Due to a bug in c++11,