From 12896e15fd7b1fc217c2b0f8f02da497a891cfaa Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 8 Feb 2016 14:48:58 -0800 Subject: Fix Clang -Wreorder error in bluetooth_task_manager_win.cc ..\..\device\bluetooth\bluetooth_task_manager_win.cc(144,7) : error: field 'current_logging_batch_count_' will be initialized after field 'adapter_handle_' [-Werror,-Wreorder] BUG=82385 TBR=gogerald1 Review URL: https://codereview.chromium.org/1676423002 . Cr-Commit-Position: refs/heads/master@{#374206} --- device/bluetooth/bluetooth_task_manager_win.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device') diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc index 8d9f686..0419637 100644 --- a/device/bluetooth/bluetooth_task_manager_win.cc +++ b/device/bluetooth/bluetooth_task_manager_win.cc @@ -140,9 +140,9 @@ BluetoothTaskManagerWin::DeviceState::~DeviceState() { BluetoothTaskManagerWin::BluetoothTaskManagerWin( scoped_refptr ui_task_runner) : ui_task_runner_(ui_task_runner), + adapter_handle_(NULL), discovering_(false), - current_logging_batch_count_(0), - adapter_handle_(NULL) {} + current_logging_batch_count_(0) {} BluetoothTaskManagerWin::~BluetoothTaskManagerWin() { win::BluetoothLowEnergyWrapper::DeleteInstance(); -- cgit v1.1