summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-04-17 13:15:15 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-04-20 09:10:29 +0000
commit88ac6911d6f4f7ab7a7d8e02e0e9b8ede9b499a1 (patch)
tree16d7a4138683dcfd48fe0f26d7b0b46fecf0dc11
parent8589703bd4e377eeb2a01c43f0c13542f54133ba (diff)
Fix trailing commas in enums
This was caused by the new headersclean enforcing warnings as errors Change-Id: Idd595fc4cf78411a80ff3dbb46477d5130a04c3e Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--src/bluetooth/qbluetoothuuid.h5
-rw-r--r--src/bluetooth/qlowenergycontroller.h2
-rw-r--r--src/bluetooth/qlowenergyservice.h2
-rw-r--r--src/nfc/qnearfieldtarget.h2
4 files changed, 5 insertions, 6 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index c4e7fb81..4646531c 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -77,7 +77,7 @@ public:
UdiCPlain = 0x001D,
McapControlChannel = 0x001E,
McapDataChannel = 0x001F,
- L2cap = 0x0100,
+ L2cap = 0x0100
};
enum ServiceClassUuid {
@@ -171,8 +171,7 @@ public:
UserData = 0x181c,
WeightScale = 0x181d,
BondManagement = 0x181e,
- ContinuousGlucoseMonitoring = 0x181f,
-
+ ContinuousGlucoseMonitoring = 0x181f
};
enum CharacteristicType {
diff --git a/src/bluetooth/qlowenergycontroller.h b/src/bluetooth/qlowenergycontroller.h
index 7906d257..1d29502b 100644
--- a/src/bluetooth/qlowenergycontroller.h
+++ b/src/bluetooth/qlowenergycontroller.h
@@ -62,7 +62,7 @@ public:
ConnectedState,
DiscoveringState,
DiscoveredState,
- ClosingState,
+ ClosingState
};
enum RemoteAddressType {
diff --git a/src/bluetooth/qlowenergyservice.h b/src/bluetooth/qlowenergyservice.h
index f3fa076b..9b6e73f4 100644
--- a/src/bluetooth/qlowenergyservice.h
+++ b/src/bluetooth/qlowenergyservice.h
@@ -67,7 +67,7 @@ public:
DiscoveryRequired, // we know start/end handle but nothing more
//TODO Rename DiscoveringServices -> DiscoveringDetails or DiscoveringService
DiscoveringServices,// discoverDetails() called and running
- ServiceDiscovered, // all details have been synchronized
+ ServiceDiscovered // all details have been synchronized
};
enum WriteMode {
diff --git a/src/nfc/qnearfieldtarget.h b/src/nfc/qnearfieldtarget.h
index 10c89a87..fef74946 100644
--- a/src/nfc/qnearfieldtarget.h
+++ b/src/nfc/qnearfieldtarget.h
@@ -63,7 +63,7 @@ public:
NfcTagType2,
NfcTagType3,
NfcTagType4,
- MifareTag,
+ MifareTag
};
enum AccessMethod {