[Application] Changes to avoid compilation warnings
authorPiotr Kosko <p.kosko@samsung.com>
Wed, 1 Jul 2015 10:49:42 +0000 (12:49 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Wed, 1 Jul 2015 13:10:02 +0000 (22:10 +0900)
[Verification] Code compiles without errors and warnings.

Change-Id: I97e2be3bf3e08f841fd1688142311ed7af4a390b
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/application/application_manager.cc

index ecd1edafb95d8c4666311b7bcc4b605e921de41d..93adba3378e194f37e2b200853c41676e5838378 100755 (executable)
@@ -60,8 +60,8 @@ const std::string kData = "data";
 }
 
 ApplicationManager::ApplicationManager(ApplicationInstance& instance) :
-  instance_(instance),
-  pkgmgr_client_handle_(nullptr) {
+  pkgmgr_client_handle_(nullptr),
+  instance_(instance) {
     LoggerD("Enter");
 }
 
@@ -105,9 +105,9 @@ class TerminateHandler {
  public:
   TerminateHandler(int callback_id, ApplicationInstance* app_instance) :
     callback_handle_(callback_id),
-    app_instance_(app_instance),
     pid_(-1),
-    timeout_id_(0) {
+    timeout_id_(0),
+    app_instance_(app_instance) {
   }
 
   void set_pid(pid_t pid) {