diff options
author | JackLivio <jack@livio.io> | 2018-09-20 17:10:29 -0400 |
---|---|---|
committer | JackLivio <jack@livio.io> | 2018-09-20 17:10:29 -0400 |
commit | 3eb89f8a33c603f7d3bcee5592b62840fb728d34 (patch) | |
tree | 661f9f13a282c5faa038660ecc1c597ff8f31abf /src/components/policy/policy_external/src | |
parent | 7e280a5140278cad627a64844e438bd476fe1866 (diff) | |
download | sdl_core-3eb89f8a33c603f7d3bcee5592b62840fb728d34.tar.gz |
Address comments
Diffstat (limited to 'src/components/policy/policy_external/src')
-rw-r--r-- | src/components/policy/policy_external/src/policy_manager_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 34d58b5812..e93eea3969 100644 --- a/src/components/policy/policy_external/src/policy_manager_impl.cc +++ b/src/components/policy/policy_external/src/policy_manager_impl.cc @@ -302,7 +302,8 @@ void FilterInvalidRPCParameters(policy_table::RpcParameters& rpc_parameters) { rpc_parameters.hmi_levels.swap(valid_hmi_levels); policy_table::Parameters valid_params; - for (const auto& param : *(rpc_parameters.parameters)) { + const policy_table::Parameters& params = *(rpc_parameters.parameters); + for (const auto& param : params) { if (param.is_valid()) { valid_params.push_back(param); } @@ -312,8 +313,7 @@ void FilterInvalidRPCParameters(policy_table::RpcParameters& rpc_parameters) { /** * @brief FilterInvalidPriorityValues filter notification priorities that are - * not - * present in schema + * not present in schema * @param notifications priorities to filter */ void FilterInvalidPriorityValues( |