summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothlocaldevice_winrt.cpp
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2019-09-05 14:03:52 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2019-09-05 15:45:00 +0200
commitdd4593c61e4b77c4e3b1ee516a1e8825ebb0197b (patch)
tree4ef9bbe47e8a15415b07de822d58b9463ccfde6f /src/bluetooth/qbluetoothlocaldevice_winrt.cpp
parent606fbebaa4cb469f9712e9d0e7280b128eb70a20 (diff)
Fix build errors with clang-cl on Windows
The following errors are fixed: error: member access into incomplete type 'ABI::Windows::Devices::Bluetooth::IBluetoothDeviceStatics' error: unknown type name 'QMutex'; did you mean 'Mutex'? Task-number: QTQAINFRA-2139 Change-Id: I5e5d9c0776cd9feb5d682c5a0e1be2f5173101f9 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_winrt.cpp')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice_winrt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_winrt.cpp b/src/bluetooth/qbluetoothlocaldevice_winrt.cpp
index ae794db0..6e8b1966 100644
--- a/src/bluetooth/qbluetoothlocaldevice_winrt.cpp
+++ b/src/bluetooth/qbluetoothlocaldevice_winrt.cpp
@@ -114,6 +114,8 @@ QBluetoothLocalDevicePrivate::QBluetoothLocalDevicePrivate(QBluetoothLocalDevice
GetActivationFactory(HString::MakeReference(RuntimeClass_Windows_Devices_Bluetooth_BluetoothDevice).Get(), &mStatics);
}
+QBluetoothLocalDevicePrivate::~QBluetoothLocalDevicePrivate() = default;
+
bool QBluetoothLocalDevicePrivate::isValid() const
{
return (mStatics != nullptr && mLEStatics != nullptr);