Index: device/bluetooth/bluetooth_socket_win.cc |
diff --git a/device/bluetooth/bluetooth_socket_win.cc b/device/bluetooth/bluetooth_socket_win.cc |
index 15a51985abe24395ad87067efe58df876a011e5e..402337e8064ed409104512c2de8b92a72068f192 100644 |
--- a/device/bluetooth/bluetooth_socket_win.cc |
+++ b/device/bluetooth/bluetooth_socket_win.cc |
@@ -221,7 +221,7 @@ void BluetoothSocketWin::DoConnect( |
scoped_socket->AdoptConnectedSocket(socket_fd, net::IPEndPoint()); |
if (net_result != net::OK) { |
error_callback.Run("Error connecting to socket: " + |
- std::string(net::ErrorToString(net_result))); |
+ net::ErrorToString(net_result)); |
closesocket(socket_fd); |
return; |
} |