From 8abf7052b1ac75f46992770c919c8fe16f0f54b9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 8 Jul 2019 11:05:02 +0300 Subject: Cleanup handler configuration options inheritance --- mod/mod-build-task.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mod/mod-build-task.cxx') diff --git a/mod/mod-build-task.cxx b/mod/mod-build-task.cxx index 27f884e..ec94e89 100644 --- a/mod/mod-build-task.cxx +++ b/mod/mod-build-task.cxx @@ -60,8 +60,7 @@ init (scanner& s) if (options_->build_config_specified ()) { - database_module::init (static_cast (*options_), - options_->build_db_retry ()); + database_module::init (*options_, options_->build_db_retry ()); // Check that the database 'build' schema matches the current one. It's // enough to perform the check in just a single module implementation @@ -73,7 +72,7 @@ init (scanner& s) fail << "database 'build' schema differs from the current one (module " << BREP_VERSION_ID << ")"; - build_config_module::init (static_cast (*options_)); + build_config_module::init (*options_); } if (options_->root ().empty ()) -- cgit v1.1