diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/bluetooth/bluetooth_socket_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_socket_mac.h b/device/bluetooth/bluetooth_socket_mac.h index 63edc66..7f94dd7 100644 --- a/device/bluetooth/bluetooth_socket_mac.h +++ b/device/bluetooth/bluetooth_socket_mac.h @@ -154,7 +154,7 @@ class BluetoothSocketMac : public BluetoothSocket { void ReleaseChannel(); void ReleaseListener(); - bool is_connecting() const { return connect_callbacks_; } + bool is_connecting() const { return !!connect_callbacks_; } // Used to verify that all methods are called on the same thread. base::ThreadChecker thread_checker_; |