This commit is contained in:
Richard Heck 2018-02-22 00:46:31 -05:00
parent a50d4710b3
commit a2bd2e2dcc
2 changed files with 4 additions and 4 deletions

View File

@ -132,10 +132,10 @@ bool ParamInfo::hasParam(std::string const & name) const
void ParamInfo::add(std::string const & name, ParamType type,
ParamHandling handling, bool ignore,
ParamHandling handling, bool ignoreval,
docstring default_value)
{
info_.push_back(ParamData(name, type, handling, ignore, default_value));
info_.push_back(ParamData(name, type, handling, ignoreval, default_value));
}

View File

@ -88,10 +88,10 @@ public:
};
/// adds a new parameter
/// If ignore is true, then the parameter is never saved, and is always
/// If ignoreval is true, then the parameter is never saved, and is always
/// given the default value.
void add(std::string const & name, ParamType type,
ParamHandling = HANDLING_NONE, bool ignore = false,
ParamHandling = HANDLING_NONE, bool ignoreval = false,
docstring default_value = docstring());
///
bool empty() const { return info_.empty(); }