make default constructor private to avoid potential problems

This commit is contained in:
Mathieu Lacage
2007-07-02 14:01:49 +02:00
parent e9ee638ae9
commit 7a86a8a8e7

View File

@@ -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;