Skip to content

Commit

Permalink
Give the private base class a virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Oct 29, 2024
1 parent edbf095 commit 0e71a9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/abstractpokitservice_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class QTPOKIT_EXPORT AbstractPokitServicePrivate : public QObject
AbstractPokitServicePrivate(const QBluetoothUuid &serviceUuid,
QLowEnergyController * controller, AbstractPokitService * const q);

virtual ~AbstractPokitServicePrivate() = default;

bool createServiceObject();
QLowEnergyCharacteristic getCharacteristic(const QBluetoothUuid &uuid) const;
bool readCharacteristic(const QBluetoothUuid &uuid);
Expand Down

0 comments on commit 0e71a9b

Please sign in to comment.