diff options
author | Andriy Byzhynar <AByzhynar@luxoft.com> | 2017-08-30 15:57:59 +0300 |
---|---|---|
committer | Andriy Byzhynar <AByzhynar@luxoft.com> | 2017-08-30 15:57:59 +0300 |
commit | 098eb67dbd5693d46f472e81a00839cffd40a71f (patch) | |
tree | 7c7af8e4e30cead4b5b3ab57ea79f6bee22ab875 /src/components/policy/policy_external/include/policy/policy_helper.h | |
parent | 639c6b43034dd2739d396c0fee57475ed9fa25a7 (diff) | |
download | sdl_core-098eb67dbd5693d46f472e81a00839cffd40a71f.tar.gz |
Remove unused and redundant code from policy
Diffstat (limited to 'src/components/policy/policy_external/include/policy/policy_helper.h')
-rw-r--r-- | src/components/policy/policy_external/include/policy/policy_helper.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/components/policy/policy_external/include/policy/policy_helper.h b/src/components/policy/policy_external/include/policy/policy_helper.h index ece033c23c..42c1ec0b46 100644 --- a/src/components/policy/policy_external/include/policy/policy_helper.h +++ b/src/components/policy/policy_external/include/policy/policy_helper.h @@ -324,22 +324,6 @@ FunctionalGroupIDs FindSame(const FunctionalGroupIDs& first, */ bool UnwrapAppPolicies(policy_table::ApplicationPolicies& app_policies); -#ifdef SDL_REMOTE_CONTROL - -struct ProccessAppGroups { - ProccessAppGroups(const policy_table::ApplicationPolicies& apps, - PolicyManagerImpl* pm) - : new_apps_(apps), pm_(pm), default_(new_apps_.find(kDefaultId)) {} - void operator()(const policy_table::ApplicationPolicies::value_type& app); - - private: - const policy_table::ApplicationPolicies& new_apps_; - PolicyManagerImpl* pm_; - policy_table::ApplicationPolicies::const_iterator default_; -}; - -#endif // SDL_REMOTE_CONTROL - } // namespace policy #endif // SRC_COMPONENTS_POLICY_POLICY_EXTERNAL_INCLUDE_POLICY_POLICY_HELPER_H_ |