Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Commit 2ddef5f

Browse files
committed
GCC 11/C++ 20 - Remove redundant templating of methods
1 parent 14d0c1f commit 2ddef5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

connectivity/FEATURE_BLE/include/ble/gatt/GattCharacteristic.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ class ReadOnlyGattCharacteristic : public GattCharacteristic {
19151915
* attribute value that equals sizeof(T). For a variable length alternative,
19161916
* use GattCharacteristic directly.
19171917
*/
1918-
ReadOnlyGattCharacteristic<T>(
1918+
ReadOnlyGattCharacteristic(
19191919
const UUID &uuid,
19201920
T *valuePtr,
19211921
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,
@@ -1958,7 +1958,7 @@ class WriteOnlyGattCharacteristic : public GattCharacteristic {
19581958
* attribute value with maximum size equal to sizeof(T). For a fixed length
19591959
* alternative, use GattCharacteristic directly.
19601960
*/
1961-
WriteOnlyGattCharacteristic<T>(
1961+
WriteOnlyGattCharacteristic(
19621962
const UUID &uuid,
19631963
T *valuePtr,
19641964
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,
@@ -2000,7 +2000,7 @@ class ReadWriteGattCharacteristic : public GattCharacteristic {
20002000
* attribute value with maximum size equal to sizeof(T). For a fixed length
20012001
* alternative, use GattCharacteristic directly.
20022002
*/
2003-
ReadWriteGattCharacteristic<T>(
2003+
ReadWriteGattCharacteristic(
20042004
const UUID &uuid,
20052005
T *valuePtr,
20062006
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,
@@ -2043,7 +2043,7 @@ class WriteOnlyArrayGattCharacteristic : public GattCharacteristic {
20432043
* attribute value with maximum size equal to sizeof(T) * NUM_ELEMENTS.
20442044
* For a fixed length alternative, use GattCharacteristic directly.
20452045
*/
2046-
WriteOnlyArrayGattCharacteristic<T, NUM_ELEMENTS>(
2046+
WriteOnlyArrayGattCharacteristic(
20472047
const UUID &uuid,
20482048
T valuePtr[NUM_ELEMENTS],
20492049
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,
@@ -2087,7 +2087,7 @@ class ReadOnlyArrayGattCharacteristic : public GattCharacteristic {
20872087
* attribute value that equals sizeof(T) * NUM_ELEMENTS. For a variable
20882088
* length alternative, use GattCharacteristic directly.
20892089
*/
2090-
ReadOnlyArrayGattCharacteristic<T, NUM_ELEMENTS>(
2090+
ReadOnlyArrayGattCharacteristic(
20912091
const UUID &uuid,
20922092
T valuePtr[NUM_ELEMENTS],
20932093
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,
@@ -2132,7 +2132,7 @@ class ReadWriteArrayGattCharacteristic : public GattCharacteristic {
21322132
* attribute value with maximum size equal to sizeof(T) * NUM_ELEMENTS.
21332133
* For a fixed length alternative, use GattCharacteristic directly.
21342134
*/
2135-
ReadWriteArrayGattCharacteristic<T, NUM_ELEMENTS>(
2135+
ReadWriteArrayGattCharacteristic(
21362136
const UUID &uuid,
21372137
T valuePtr[NUM_ELEMENTS],
21382138
uint8_t additionalProperties = BLE_GATT_CHAR_PROPERTIES_NONE,

0 commit comments

Comments
 (0)