diff options
author | Conlain Kelly <conlain.k@gmail.com> | 2018-08-09 13:33:15 -0400 |
---|---|---|
committer | Conlain Kelly <conlain.k@gmail.com> | 2018-08-09 13:33:15 -0400 |
commit | a68ecb3ac7278e1cc0d6c425ad54527e5376d0ed (patch) | |
tree | 087c4b88faf97dfb453d008f2f504396a882200e /src/components/policy/policy_regular | |
parent | c55471953afa6642b3cbc017c96570f5c854a61f (diff) | |
download | sdl_core-a68ecb3ac7278e1cc0d6c425ad54527e5376d0ed.tar.gz |
yet another style fix
Diffstat (limited to 'src/components/policy/policy_regular')
-rw-r--r-- | src/components/policy/policy_regular/src/cache_manager.cc | 6 | ||||
-rw-r--r-- | src/components/policy/policy_regular/src/policy_table/types.cc | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/components/policy/policy_regular/src/cache_manager.cc b/src/components/policy/policy_regular/src/cache_manager.cc index dace9bbbc7..092fd5b9a4 100644 --- a/src/components/policy/policy_regular/src/cache_manager.cc +++ b/src/components/policy/policy_regular/src/cache_manager.cc @@ -824,9 +824,9 @@ void CacheManager::CheckSnapshotInitialization() { } *(snapshot_->policy_table.module_config.preloaded_pt) = false; - - *(snapshot_->policy_table.module_config.full_app_id_supported) = settings_->use_full_app_id(); - + + *(snapshot_->policy_table.module_config.full_app_id_supported) = + settings_->use_full_app_id(); // SDL must not send certificate in snapshot snapshot_->policy_table.module_config.certificate = diff --git a/src/components/policy/policy_regular/src/policy_table/types.cc b/src/components/policy/policy_regular/src/policy_table/types.cc index 6e692ce7cb..851ed1bd18 100644 --- a/src/components/policy/policy_regular/src/policy_table/types.cc +++ b/src/components/policy/policy_regular/src/policy_table/types.cc @@ -495,7 +495,8 @@ void ModuleConfig::SafeCopyFrom(const ModuleConfig& from) { Json::Value ModuleConfig::ToJsonValue() const { Json::Value result__(Json::objectValue); impl::WriteJsonField("preloaded_pt", preloaded_pt, &result__); - impl::WriteJsonField("full_app_id_supported", full_app_id_supported, &result__); + impl::WriteJsonField( + "full_app_id_supported", full_app_id_supported, &result__); impl::WriteJsonField("exchange_after_x_ignition_cycles", exchange_after_x_ignition_cycles, &result__); @@ -572,7 +573,7 @@ bool ModuleConfig::is_initialized() const { bool ModuleConfig::struct_empty() const { if (preloaded_pt.is_initialized()) { return false; - } + } if (full_app_id_supported.is_initialized()) { return false; } @@ -626,7 +627,8 @@ void ModuleConfig::ReportErrors(rpc::ValidationReport* report__) const { preloaded_pt.ReportErrors(&report__->ReportSubobject("preloaded_pt")); } if (!full_app_id_supported.is_valid()) { - full_app_id_supported.ReportErrors(&report__->ReportSubobject("full_app_id_supported")); + full_app_id_supported.ReportErrors( + &report__->ReportSubobject("full_app_id_supported")); } if (!exchange_after_x_ignition_cycles.is_valid()) { exchange_after_x_ignition_cycles.ReportErrors( |