Removing the param.has() if condition.

This commit is contained in:
Kai Bao 2014-05-20 19:53:39 +02:00
parent 63c53096cd
commit 827cd7e8e4

View File

@ -241,15 +241,9 @@ namespace {
ADB::null(),
ADB::null() } )
{
if (param.has("dp_max_rel")) {
dp_max_rel_ = param.getDefault("dp_max_rel", dp_max_rel_);
}
if (param.has("ds_max")) {
ds_max_ = param.getDefault("ds_max", ds_max_);
}
if (param.has("drs_max_rel")) {
drs_max_rel_ = param.getDefault("drs_max_rel", drs_max_rel_);
}
dp_max_rel_ = param.getDefault("dp_max_rel", dp_max_rel_);
ds_max_ = param.getDefault("ds_max", ds_max_);
drs_max_rel_ = param.getDefault("drs_max_rel", drs_max_rel_);
}