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-builds.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mod/mod-builds.cxx') diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx index d7bebd0..ffb192b 100644 --- a/mod/mod-builds.cxx +++ b/mod/mod-builds.cxx @@ -58,10 +58,8 @@ init (scanner& s) if (options_->build_config_specified ()) { - database_module::init (static_cast (*options_), - options_->build_db_retry ()); - - build_config_module::init (static_cast (*options_)); + database_module::init (*options_, options_->build_db_retry ()); + build_config_module::init (*options_); } if (options_->root ().empty ()) -- cgit v1.1