diff options
author | 2015-12-13 11:23:55 +0100 | |
---|---|---|
committer | 2015-12-13 11:23:55 +0100 | |
commit | 4e580a77b9da9b78aba1fec8e44b1de5a4a14aaf (patch) | |
tree | df0e1d28daa79b9151088498a933cd1fc37c9c07 /src/lib/netlist/plib/poptions.h | |
parent | 1cda42b22e591965ee69561fcf52272bd991b3b2 (diff) | |
parent | 14d5966a379e9783ba724750a5f84a72af62cadc (diff) |
Merge pull request #9 from mamedev/master
Sync to base master
Diffstat (limited to 'src/lib/netlist/plib/poptions.h')
-rw-r--r-- | src/lib/netlist/plib/poptions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/netlist/plib/poptions.h b/src/lib/netlist/plib/poptions.h index b082504930d..c6daa3b2596 100644 --- a/src/lib/netlist/plib/poptions.h +++ b/src/lib/netlist/plib/poptions.h @@ -52,7 +52,7 @@ public: : poption(ashort, along, help, true, parent), m_val(defval) {} - virtual int parse(pstring argument) { m_val = argument; return 0; } + virtual int parse(pstring argument) override { m_val = argument; return 0; } pstring operator ()() { return m_val; } private: @@ -66,7 +66,7 @@ public: : poption(ashort, along, help, true, parent), m_val(defval), m_limit(limit, ":") {} - virtual int parse(pstring argument) + virtual int parse(pstring argument) override { if (m_limit.contains(argument)) { @@ -90,7 +90,7 @@ public: : poption(ashort, along, help, false, parent), m_val(false) {} - virtual int parse(ATTR_UNUSED pstring argument) { m_val = true; return 0; } + virtual int parse(ATTR_UNUSED pstring argument) override { m_val = true; return 0; } bool operator ()() { return m_val; } private: @@ -104,7 +104,7 @@ public: : poption(ashort, along, help, true, parent), m_val(defval) {} - virtual int parse(pstring argument) + virtual int parse(pstring argument) override { bool err = false; m_val = argument.as_double(&err); |