minor code cleanup
This commit is contained in:
parent
9efc32596b
commit
7acd4e3e6a
|
@ -16,8 +16,6 @@ struct option_not_found : public runtime_error
|
||||||
: runtime_error("option not found: " + name) {}
|
: runtime_error("option not found: " + name) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
String int_to_str(int value);
|
|
||||||
|
|
||||||
class Option
|
class Option
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -74,8 +72,7 @@ private:
|
||||||
OptionMap m_options;
|
OptionMap m_options;
|
||||||
OptionManager* m_parent;
|
OptionManager* m_parent;
|
||||||
|
|
||||||
void on_option_changed(const String& name,
|
void on_option_changed(const String& name, const Option& value);
|
||||||
const Option& value);
|
|
||||||
|
|
||||||
std::vector<OptionManagerWatcher*> m_watchers;
|
std::vector<OptionManagerWatcher*> m_watchers;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user