summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/osx/osxbtl2capchannel.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/osx/osxbtl2capchannel.mm')
-rw-r--r--src/bluetooth/osx/osxbtl2capchannel.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/osx/osxbtl2capchannel.mm b/src/bluetooth/osx/osxbtl2capchannel.mm
index 02ec4f90..474fe04b 100644
--- a/src/bluetooth/osx/osxbtl2capchannel.mm
+++ b/src/bluetooth/osx/osxbtl2capchannel.mm
@@ -210,7 +210,7 @@ QT_USE_NAMESPACE
- (BluetoothDeviceAddress)peerAddress
{
const BluetoothDeviceAddress *const addr = device ? [device getAddress]
- : Q_NULLPTR;
+ : nullptr;
if (addr)
return *addr;
@@ -245,7 +245,7 @@ QT_USE_NAMESPACE
Q_ASSERT_X(length, Q_FUNC_INFO, "invalid data size");
Q_ASSERT_X(connected && channel, Q_FUNC_INFO, "invalid L2CAP channel");
- return [channel writeAsync:data length:length refcon:Q_NULLPTR];
+ return [channel writeAsync:data length:length refcon:nullptr];
}