Skip to content

Commit 0e71a9b

Browse files
committed
Give the private base class a virtual destructor
1 parent edbf095 commit 0e71a9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/abstractpokitservice_p.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ class QTPOKIT_EXPORT AbstractPokitServicePrivate : public QObject
4040
AbstractPokitServicePrivate(const QBluetoothUuid &serviceUuid,
4141
QLowEnergyController * controller, AbstractPokitService * const q);
4242

43+
virtual ~AbstractPokitServicePrivate() = default;
44+
4345
bool createServiceObject();
4446
QLowEnergyCharacteristic getCharacteristic(const QBluetoothUuid &uuid) const;
4547
bool readCharacteristic(const QBluetoothUuid &uuid);

0 commit comments

Comments
 (0)