diff options
Diffstat (limited to 'src/lib/util/options.cpp')
-rw-r--r-- | src/lib/util/options.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/util/options.cpp b/src/lib/util/options.cpp index b835d0fa681..8500eda327d 100644 --- a/src/lib/util/options.cpp +++ b/src/lib/util/options.cpp @@ -56,7 +56,6 @@ const char *const core_options::s_option_unadorned[MAX_UNADORNED_OPTIONS] = core_options::entry::entry(const char *name, const char *description, uint32_t flags, const char *defvalue) : m_next(nullptr), m_flags(flags), - m_seqid(0), m_error_reported(false), m_priority(OPTION_PRIORITY_DEFAULT), m_description(description), @@ -111,7 +110,6 @@ void core_options::entry::set_value(const char *newdata, int priority) // set the data and priority, then bump the sequence m_data = newdata; m_priority = priority; - m_seqid++; } @@ -684,16 +682,6 @@ int core_options::priority(const char *name) const //------------------------------------------------- -// seqid - return the seqid for a given option -//------------------------------------------------- - -uint32_t core_options::seqid(const char *name) const -{ - auto curentry = m_entrymap.find(name); - return (curentry != m_entrymap.end()) ? curentry->second->seqid() : 0; -} - -//------------------------------------------------- // exists - return if option exists in list //------------------------------------------------- @@ -702,16 +690,7 @@ bool core_options::exists(const char *name) const return (m_entrymap.find(name) != m_entrymap.end()); } -//------------------------------------------------- -// is_changed - return if option have been marked -// changed -//------------------------------------------------- -bool core_options::is_changed(const char *name) const -{ - auto curentry = m_entrymap.find(name); - return (curentry != m_entrymap.end()) ? curentry->second->is_changed() : false; -} //------------------------------------------------- // set_value - set the raw option value //------------------------------------------------- |