jgh
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1050:37101a458dfb
- Parent:
- 1048:efb29faf12fc
- Child:
- 1052:b55e1ad3e1b3
diff -r d99774db03b4 -r 37101a458dfb ble/DiscoveredCharacteristic.h --- a/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:29 2016 +0000 +++ b/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:29 2016 +0000 @@ -59,6 +59,10 @@ rhs._authSignedWrite == lhs._authSignedWrite; } + friend bool operator!=(Properties_t rhs, Properties_t lhs) { + return !(rhs == lhs); + } + private: operator uint8_t() const; /* Disallow implicit conversion into an integer. */ operator unsigned() const; /* Disallow implicit conversion into an integer. */