[Bluetooth] Fixing initialization order 77/115177/1
authorSzymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Thu, 16 Feb 2017 11:59:45 +0000 (12:59 +0100)
committerSzymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Thu, 16 Feb 2017 11:59:45 +0000 (12:59 +0100)
Change-Id: I83a2b3b265dc69c203b98c7314501be5a2e23c3a
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
src/bluetooth/bluetooth_instance.cc
src/bluetooth/bluetooth_instance.h

index 322f45f4fec9944d60eefde4b0f47223064cefe3..158555fa19fb219ee2f711736d95594e90bd9756 100755 (executable)
@@ -29,9 +29,9 @@ using namespace common;
 BluetoothInstance::BluetoothInstance() :
     bluetooth_adapter_(*this),
     bluetooth_device_(bluetooth_adapter_),
-    bluetooth_health_application_(bluetooth_health_profile_handler_),
     bluetooth_health_channel_(),
     bluetooth_health_profile_handler_(*this),
+    bluetooth_health_application_(bluetooth_health_profile_handler_),
     bluetooth_service_handler_(bluetooth_adapter_),
     bluetooth_socket_(bluetooth_adapter_),
     bluetooth_le_adapter_(*this),
index daeabefd5f6a83426fe0f7632434812a58d1598c..30bb4cf337e68c1dfdc578994889f4ba2aad87d3 100755 (executable)
@@ -50,9 +50,9 @@ class BluetoothInstance: public common::ParsedInstance {
  private:
   BluetoothAdapter bluetooth_adapter_;
   BluetoothDevice bluetooth_device_;
-  BluetoothHealthApplication bluetooth_health_application_;
   BluetoothHealthChannel bluetooth_health_channel_;
   BluetoothHealthProfileHandler bluetooth_health_profile_handler_;
+  BluetoothHealthApplication bluetooth_health_application_;
   BluetoothServiceHandler bluetooth_service_handler_;
   BluetoothSocket bluetooth_socket_;
   BluetoothLEAdapter bluetooth_le_adapter_;