diff options
author | 2017-01-05 01:43:12 +0100 | |
---|---|---|
committer | 2017-01-05 01:43:31 +0100 | |
commit | 02c3f45bff27e8ca27d5f68f52c816e5f055eadf (patch) | |
tree | f647ed591e5997496a6bb0ff3dc28fb887534f1f /src/lib/netlist/plib/poptions.h | |
parent | 67841056dae03d2e8f418b3be7150701c705d6b5 (diff) |
Fix clang "-Wno-weak-vtables" warnings in netlist source. Refactored
code along the way. (nw)
Diffstat (limited to 'src/lib/netlist/plib/poptions.h')
-rw-r--r-- | src/lib/netlist/plib/poptions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/netlist/plib/poptions.h b/src/lib/netlist/plib/poptions.h index 3fac79b58ef..aa5ce07cbc8 100644 --- a/src/lib/netlist/plib/poptions.h +++ b/src/lib/netlist/plib/poptions.h @@ -39,6 +39,7 @@ class option_group : public option_base public: option_group(options &parent, pstring group, pstring help) : option_base(parent, help), m_group(group) { } + ~option_group(); pstring group() { return m_group; } private: @@ -50,6 +51,7 @@ class option_example : public option_base public: option_example(options &parent, pstring group, pstring help) : option_base(parent, help), m_example(group) { } + ~option_example(); pstring example() { return m_example; } private: @@ -61,6 +63,7 @@ class option : public option_base { public: option(options &parent, pstring ashort, pstring along, pstring help, bool has_argument); + ~option(); /* no_argument options will be called with "" argument */ |