These are the fixes thus far. Most involve whether we're using a pointer or not.

PiperOrigin-RevId: 401241518
This commit is contained in:
jfcarroll
2021-10-06 07:42:58 -07:00
committed by Copybara-Service
parent dceb1e216b
commit eea2a91139
5 changed files with 39 additions and 27 deletions
@@ -66,9 +66,7 @@ class BluetoothSocket : public api::BluetoothSocket {
public:
BluetoothSocket();
BluetoothSocket(
winrt::Windows::Networking::Sockets::StreamSocket streamSocket)
: windows_socket_(streamSocket) {}
BluetoothSocket(StreamSocket streamSocket);
~BluetoothSocket() override;
@@ -130,7 +128,8 @@ class BluetoothSocket : public api::BluetoothSocket {
std::unique_ptr<BluetoothInputStream> input_stream_;
std::unique_ptr<BluetoothOutputStream> output_stream_;
IStreamSocket windows_socket_;
StreamSocket windows_socket_;
std::unique_ptr<BluetoothDevice> bluetooth_device_;
};
} // namespace windows