GattServer:: improve default constructor

master
Rohit Grover 2014-11-18 10:09:00 +00:00
parent 8c33bdd29c
commit 8940e82481
1 changed files with 3 additions and 6 deletions

View File

@ -49,12 +49,9 @@ private:
GattAttribute *p_descriptors[BLE_TOTAL_DESCRIPTORS];
uint16_t nrfDescriptorHandles[BLE_TOTAL_DESCRIPTORS];
nRF51GattServer() {
serviceCount = 0;
characteristicCount = 0;
descriptorCount = 0;
};
nRF51GattServer() : GattServer(), p_characteristics(), nrfCharacteristicHandles(), p_descriptors(), descriptorCount(0), nrfDescriptorHandles() {
/* empty */
}
private:
nRF51GattServer(const nRF51GattServer &);