diff options
author | Conlain Kelly <conlain.k@gmail.com> | 2018-07-18 11:24:11 -0400 |
---|---|---|
committer | Conlain Kelly <conlain.k@gmail.com> | 2018-07-18 11:24:11 -0400 |
commit | 81fb6ddaf3ba4ecb5e0129401239af75db45d84d (patch) | |
tree | c71fc838d006b6b37b008e6f452e6ac2d7463f8c /src/components/policy/policy_external/src | |
parent | 5019af50b9a2236dd75e630aae5b82e440be9620 (diff) | |
download | sdl_core-81fb6ddaf3ba4ecb5e0129401239af75db45d84d.tar.gz |
style fix
Diffstat (limited to 'src/components/policy/policy_external/src')
4 files changed, 6 insertions, 9 deletions
diff --git a/src/components/policy/policy_external/src/cache_manager.cc b/src/components/policy/policy_external/src/cache_manager.cc index b30ed3c224..38c6d50e99 100644 --- a/src/components/policy/policy_external/src/cache_manager.cc +++ b/src/components/policy/policy_external/src/cache_manager.cc @@ -2237,8 +2237,7 @@ bool CacheManager::Init(const std::string& file_name, LOG4CXX_AUTO_TRACE(logger_); settings_ = settings; InitResult init_result = backup_->Init(settings); - ex_backup_ = std::dynamic_pointer_cast< - PTExtRepresentation>(backup_); + ex_backup_ = std::dynamic_pointer_cast<PTExtRepresentation>(backup_); bool result = true; switch (init_result) { diff --git a/src/components/policy/policy_external/src/policy_manager_impl.cc b/src/components/policy/policy_external/src/policy_manager_impl.cc index c75d14a67a..4a5731f24f 100644 --- a/src/components/policy/policy_external/src/policy_manager_impl.cc +++ b/src/components/policy/policy_external/src/policy_manager_impl.cc @@ -213,8 +213,8 @@ PolicyManagerImpl::PolicyManagerImpl() : PolicyManager() , listener_(NULL) , cache_(new CacheManager) - , access_remote_(new AccessRemoteImpl( - std::static_pointer_cast<CacheManager>(cache_))) + , access_remote_( + new AccessRemoteImpl(std::static_pointer_cast<CacheManager>(cache_))) , retry_sequence_timeout_(60) , retry_sequence_index_(0) , ignition_check(true) @@ -224,8 +224,8 @@ PolicyManagerImpl::PolicyManagerImpl(bool in_memory) : PolicyManager() , listener_(NULL) , cache_(new CacheManager(in_memory)) - , access_remote_(new AccessRemoteImpl( - std::static_pointer_cast<CacheManager>(cache_))) + , access_remote_( + new AccessRemoteImpl(std::static_pointer_cast<CacheManager>(cache_))) , retry_sequence_timeout_(60) , retry_sequence_index_(0) , ignition_check(true) @@ -1776,7 +1776,7 @@ StatusNotifier PolicyManagerImpl::AddApplication( if (IsNewApplication(application_id)) { AddNewApplication(application_id, device_consent); return std::make_shared<CallStatusChange>(update_status_manager_, - device_consent); + device_consent); } else { PromoteExistedApplication(application_id, device_consent); return std::make_shared<utils::CallNothing>(); diff --git a/src/components/policy/policy_external/src/status.cc b/src/components/policy/policy_external/src/status.cc index 34f65339c1..c2ee4e4bbc 100644 --- a/src/components/policy/policy_external/src/status.cc +++ b/src/components/policy/policy_external/src/status.cc @@ -33,7 +33,6 @@ #include "policy/status.h" #include "policy/update_status_manager.h" - policy::UpToDateStatus::UpToDateStatus() : Status(kUpToDate, policy::PolicyTableStatus::StatusUpToDate) {} diff --git a/src/components/policy/policy_external/src/update_status_manager.cc b/src/components/policy/policy_external/src/update_status_manager.cc index aee22a3b0c..1f00a440b3 100644 --- a/src/components/policy/policy_external/src/update_status_manager.cc +++ b/src/components/policy/policy_external/src/update_status_manager.cc @@ -34,7 +34,6 @@ #include "policy/policy_listener.h" #include "utils/logger.h" - namespace policy { CREATE_LOGGERPTR_GLOBAL(logger_, "Policy") |