1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-01 05:03:52 +00:00

Added missing virtual App::~App() (#98)

* Added missing virtual App::~App()

* fixed destructor style
This commit is contained in:
Stéphane Del Pino 2018-04-08 13:40:30 +02:00 committed by Henry Schreiner
parent 5d9a5636bc
commit 4f6bbba317

View File

@ -197,6 +197,9 @@ class App {
set_help_flag("-h,--help", "Print this help message and exit"); set_help_flag("-h,--help", "Print this help message and exit");
} }
/// virtual destructor
virtual ~App() = default;
/// Set a callback for the end of parsing. /// Set a callback for the end of parsing.
/// ///
/// Due to a bug in c++11, /// Due to a bug in c++11,