add implementation for virtual const Gap &getGap() const

master
Rohit Grover 2015-06-18 14:12:50 +01:00
parent 832347de91
commit 872b10f2ec
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ public:
virtual Gap &getGap() {
return nRF51Gap::getInstance();
};
virtual const Gap &getGap() const {
return nRF51Gap::getInstance();
};
virtual GattServer &getGattServer() {
return nRF51GattServer::getInstance();
};