aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-build-force.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-build-force.cxx')
-rw-r--r--mod/mod-build-force.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/mod-build-force.cxx b/mod/mod-build-force.cxx
index 2c6ac64..72c5fdf 100644
--- a/mod/mod-build-force.cxx
+++ b/mod/mod-build-force.cxx
@@ -43,10 +43,8 @@ init (scanner& s)
if (options_->build_config_specified ())
{
- database_module::init (static_cast<options::build_db> (*options_),
- options_->build_db_retry ());
-
- build_config_module::init (static_cast<options::build> (*options_));
+ database_module::init (*options_, options_->build_db_retry ());
+ build_config_module::init (*options_);
}
}