Remove pointless explicit empty constructors from OptionValue base classes
Originally committed to SVN as r5813.
This commit is contained in:
parent
723d3b9780
commit
579203989b
1 changed files with 1 additions and 5 deletions
|
@ -56,7 +56,6 @@ protected:
|
|||
}
|
||||
|
||||
public:
|
||||
OptionValue() {};
|
||||
virtual ~OptionValue() {};
|
||||
|
||||
|
||||
|
@ -148,9 +147,6 @@ CONFIG_OPTIONVALUE(Bool, bool)
|
|||
class OptionValueList: public OptionValue {
|
||||
friend class ConfigVisitor;
|
||||
|
||||
protected:
|
||||
OptionValueList() {};
|
||||
virtual ~OptionValueList() {};
|
||||
virtual void InsertString(const std::string val) { throw ListTypeError("string", " insert "); }
|
||||
virtual void InsertInt(const int64_t val) { throw ListTypeError("int", " insert "); }
|
||||
virtual void InsertDouble(const double val) { throw ListTypeError("double", " insert "); }
|
||||
|
|
Loading…
Reference in a new issue