From a88d0ea41e5aab406e9d465a5165fc16fb9ca9fb Mon Sep 17 00:00:00 2001 From: Ville Voutilainen Date: Mon, 3 Dec 2018 14:27:28 +0200 Subject: Fix compilation with gcc 4.8 GCC 4.8 doesn't like duplicate friend declarations. Change-Id: I2ec48ca7415b9fd7fe1c24f390519833b7d1f0aa Reviewed-by: Simon Hausmann --- src/bluetooth/qbluetoothsocket.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/bluetooth/qbluetoothsocket.h b/src/bluetooth/qbluetoothsocket.h index cf76e8b8..d2535544 100644 --- a/src/bluetooth/qbluetoothsocket.h +++ b/src/bluetooth/qbluetoothsocket.h @@ -186,7 +186,6 @@ protected: explicit QBluetoothSocket(QBluetoothSocketBasePrivate *d, QBluetoothServiceInfo::Protocol socketType, QObject *parent = nullptr); - friend class QBluetoothServerPrivate; #endif #ifndef QT_OSX_BLUETOOTH QBluetoothSocketBasePrivate *d_ptr; -- cgit v1.2.3