From c19a6f7db96ed8f39eb74ebb2250ffec5a0b278a Mon Sep 17 00:00:00 2001 From: Zbigniew Kostrzewa Date: Tue, 29 Oct 2013 10:15:43 +0100 Subject: [PATCH] Remove references to Inter Context Delegates. [Issue#] LINUXWRT-1061 [Problem] Unnecessary references to Inter Context Delegates. [Cause] Smack and AceCheck tasks inherit after ICDelegateSupport but don't make use of it. [Solution] Remove the references. [Verification] 1. Build repository with tests 2. Run `wrt-installer-tests-general --output=text` (the same number of tests should pass before and after applying this change). [Remarks] This change is connected to removal of FastDelegate library task. Change-Id: Ie35d2882ecab7bc49827b5e32fb096d26629aaa9 --- src/jobs/widget_install/task_ace_check.h | 4 +--- src/jobs/widget_install/task_smack.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/jobs/widget_install/task_ace_check.h b/src/jobs/widget_install/task_ace_check.h index d317975..e4ce90d 100644 --- a/src/jobs/widget_install/task_ace_check.h +++ b/src/jobs/widget_install/task_ace_check.h @@ -23,15 +23,13 @@ #define INSTALLER_CORE_JOS_WIDGET_INSTALL_TASK_ACE_CHECK_H #include -#include class InstallerContext; namespace Jobs { namespace WidgetInstall { class TaskAceCheck : - public DPL::TaskDecl, - public DPL::Event::ICDelegateSupport + public DPL::TaskDecl { private: InstallerContext& m_context; diff --git a/src/jobs/widget_install/task_smack.h b/src/jobs/widget_install/task_smack.h index 0923b59..d1895c2 100644 --- a/src/jobs/widget_install/task_smack.h +++ b/src/jobs/widget_install/task_smack.h @@ -23,15 +23,13 @@ #define INSTALLER_CORE_JOS_WIDGET_INSTALL_TASK_SMACK_H #include -#include class InstallerContext; namespace Jobs { namespace WidgetInstall { class TaskSmack : - public DPL::TaskDecl, - public DPL::Event::ICDelegateSupport + public DPL::TaskDecl { private: InstallerContext& m_context; -- 2.7.4