mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
These are the fixes thus far. Most involve whether we're using a pointer or not.
PiperOrigin-RevId: 401241518
This commit is contained in:
committed by
Copybara-Service
parent
dceb1e216b
commit
eea2a91139
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user