aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-08 11:05:02 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-08 11:05:02 +0300
commit8abf7052b1ac75f46992770c919c8fe16f0f54b9 (patch)
tree721809a9fd4c755fdd6b0ae4a5442e55a2b407e3 /mod/mod-package-version-details.cxx
parent1b02cc2a15af121405bc99371dcc1ccb4b69f427 (diff)
Cleanup handler configuration options inheritance
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index 81f18b1..8680f00 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -47,15 +47,15 @@ init (scanner& s)
options_ = make_shared<options::package_version_details> (
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 ())