summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/characteristicinfo.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-08-22 12:10:21 +0200
committerAlex Blasche <alexander.blasche@qt.io>2018-08-24 05:44:13 +0000
commit89e92af7948cde05bbb07a082835344f3f3adb4e (patch)
tree92a51d79b8101609b1dd56f9583a5b4d07762313 /examples/bluetooth/lowenergyscanner/characteristicinfo.h
parent4a20dda27259fad1468370860162b8f22ca53072 (diff)
Cleanup lowenergyscanner example with clang tidy and clazy help
Change-Id: Iaaf169b1ac9b3d4c348d9cabf737b395198a921f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/characteristicinfo.h')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.h b/examples/bluetooth/lowenergyscanner/characteristicinfo.h
index ccc280e8..3f3600ab 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.h
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.h
@@ -65,7 +65,7 @@ class CharacteristicInfo: public QObject
Q_PROPERTY(QString characteristicPermission READ getPermission NOTIFY characteristicChanged)
public:
- CharacteristicInfo();
+ CharacteristicInfo() = default;
CharacteristicInfo(const QLowEnergyCharacteristic &characteristic);
void setCharacteristic(const QLowEnergyCharacteristic &characteristic);
QString getName() const;