diff options
Diffstat (limited to 'mod/mod-build-result.cxx')
-rw-r--r-- | mod/mod-build-result.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-build-result.cxx b/mod/mod-build-result.cxx index 18dc146..860a964 100644 --- a/mod/mod-build-result.cxx +++ b/mod/mod-build-result.cxx @@ -52,15 +52,15 @@ init (scanner& s) options_ = make_shared<options::build_result> ( s, unknown_mode::fail, unknown_mode::fail); - database_module::init (static_cast<options::package_db> (*options_), + database_module::init (static_cast<const options::package_db&> (*options_), options_->package_db_retry ()); if (options_->build_config_specified ()) { - database_module::init (static_cast<options::build_db> (*options_), + database_module::init (static_cast<const options::build_db&> (*options_), options_->build_db_retry ()); - build_config_module::init (static_cast<options::build> (*options_)); + build_config_module::init (*options_); } if (options_->root ().empty ()) |