diff options
author | Hans Wennborg <hans@chromium.org> | 2016-02-08 14:48:58 -0800 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2016-02-08 22:54:08 +0000 |
commit | 12896e15fd7b1fc217c2b0f8f02da497a891cfaa (patch) | |
tree | 874bacdac5482edeac53bec6619b2740a51b38e1 /device/bluetooth/bluetooth_task_manager_win.cc | |
parent | 1eacd7ea0e86208e3f4fb46bd75566b47d528c15 (diff) | |
download | chromium_src-12896e15fd7b1fc217c2b0f8f02da497a891cfaa.zip chromium_src-12896e15fd7b1fc217c2b0f8f02da497a891cfaa.tar.gz chromium_src-12896e15fd7b1fc217c2b0f8f02da497a891cfaa.tar.bz2 |
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}
Diffstat (limited to 'device/bluetooth/bluetooth_task_manager_win.cc')
-rw-r--r-- | device/bluetooth/bluetooth_task_manager_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<base::SequencedTaskRunner> 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(); |