Initialize all members.

This commit is contained in:
Mark de Wever 2011-07-07 19:16:11 +00:00
parent 51b200b747
commit 52d201ff22

View File

@ -43,11 +43,11 @@ public:
const std::string &type,
const std::string &def,
bool mandatory)
: name_(name)
, type_(type)
, default_(def)
, mandatory_(mandatory)
{
name_ = name;
type_ = type;
default_ = def;
mandatory_ = mandatory;
}
const std::string & get_name() const{