removed broken assignment operator

pull/6188/head
paul-szczepanek-arm 2018-01-17 11:04:37 +00:00
parent f8c9fe7329
commit 00b1b17e62
2 changed files with 8 additions and 4 deletions

View File

@ -336,7 +336,14 @@ public:
// Security settings
//
virtual ble_error_t setPasskey(const Passkey_t passkey) {
/**
* Set the passkey that is displayed on the local device instead of using
* a randomly generated one
*
* @param passkey asci string of 6 digits
* @return
*/
virtual ble_error_t setDisplayPasskey(const Passkey_t passkey) {
(void) passkey;
return BLE_ERROR_NOT_IMPLEMENTED; /* Requesting action from porters: override this API if security is supported. */
}

View File

@ -63,9 +63,6 @@ public:
passkey -= result;
}
}
PasskeyAsci& operator=(PasskeyNum& passkey) {
return PasskeyAsci(passkey);
}
operator PasskeyNum() {
return PasskeyNum(getNumber());
}