summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShobhitAd <adlakhshobhit@gmail.com>2018-10-02 06:09:44 -0700
committerShobhitAd <adlakhshobhit@gmail.com>2018-10-02 06:09:44 -0700
commit060d3c4d95fe1439ce4ce57b34df964a786c0df4 (patch)
tree22aae8d31f097418d25d0ebdf2e712de95f16851 /src
parent649ae981df2606db2954fd3b95ee62d998d337ca (diff)
downloadsdl_core-060d3c4d95fe1439ce4ce57b34df964a786c0df4.tar.gz
Reordered initialization
Diffstat (limited to 'src')
-rw-r--r--src/components/policy/policy_regular/src/cache_manager.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/policy/policy_regular/src/cache_manager.cc b/src/components/policy/policy_regular/src/cache_manager.cc
index 52fc810c98..226a2e4332 100644
--- a/src/components/policy/policy_regular/src/cache_manager.cc
+++ b/src/components/policy/policy_regular/src/cache_manager.cc
@@ -103,8 +103,8 @@ CacheManager::CacheManager()
: CacheManagerInterface()
, pt_(new policy_table::Table)
, backup_(new SQLPTRepresentation())
- , settings_(nullptr)
- , update_required(false) {
+ , update_required(false)
+ , settings_(nullptr) {
LOG4CXX_AUTO_TRACE(logger_);
backuper_ = new BackgroundBackuper(this);
backup_thread_ = threads::CreateThread("Backup thread", backuper_);
@@ -827,7 +827,7 @@ void CacheManager::CheckSnapshotInitialization() {
*(snapshot_->policy_table.module_config.preloaded_pt) = false;
*(snapshot_->policy_table.module_config.full_app_id_supported) =
- get_settings()->use_full_app_id();
+ get_settings().use_full_app_id();
// SDL must not send certificate in snapshot
snapshot_->policy_table.module_config.certificate =