make default constructor private to avoid potential problems
This commit is contained in:
@@ -45,6 +45,8 @@ public:
|
||||
protected:
|
||||
DefaultValueBase (const std::string &name,
|
||||
const std::string &help);
|
||||
private:
|
||||
DefaultValueBase ();
|
||||
private:
|
||||
virtual bool DoParseValue (const std::string &value) = 0;
|
||||
virtual std::string DoGetType (void) const = 0;
|
||||
|
||||
Reference in New Issue
Block a user