summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/options.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-01-31 14:53:46 +1100
committer Vas Crabb <vas@vastheman.com>2020-01-31 14:53:46 +1100
commit3536bbdd7167b3982deca3e91960658ac620fdf1 (patch)
tree2c7ebf9e8c7a0736ae68a9231de1e2420f0c5da5 /src/lib/util/options.h
parenta984b33ada3bf472333e178a68fdb160faf3151f (diff)
there are reasons for things being the way they were (nw)
Diffstat (limited to 'src/lib/util/options.h')
-rw-r--r--src/lib/util/options.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/options.h b/src/lib/util/options.h
index dc86786fed1..a28720a0373 100644
--- a/src/lib/util/options.h
+++ b/src/lib/util/options.h
@@ -111,7 +111,7 @@ public:
entry(entry &&) = delete;
entry& operator=(const entry &) = delete;
entry& operator=(entry &&) = delete;
- virtual ~entry() = default;
+ virtual ~entry();
// accessors
const std::vector<std::string> &names() const noexcept { return m_names; }
@@ -152,7 +152,7 @@ public:
core_options(core_options &&) = default;
core_options& operator=(const core_options &) = delete;
core_options& operator=(core_options &&) = default;
- virtual ~core_options() = default;
+ virtual ~core_options();
// getters
const std::string &command() const noexcept { return m_command; }
@@ -213,7 +213,7 @@ private:
simple_entry(simple_entry &&) = delete;
simple_entry& operator=(const simple_entry &) = delete;
simple_entry& operator=(simple_entry &&) = delete;
- ~simple_entry() = default;
+ virtual ~simple_entry();
// getters
virtual const char *value() const noexcept override;