fdsf
Fork of nRF51822 by
Diff: source/nRF5xCharacteristicDescriptorDiscoverer.h
- Revision:
- 544:9e3d053ad4ec
- Parent:
- 543:53215259c0d2
--- a/source/nRF5xCharacteristicDescriptorDiscoverer.h Mon Jan 11 10:19:03 2016 +0000 +++ b/source/nRF5xCharacteristicDescriptorDiscoverer.h Mon Jan 11 10:19:04 2016 +0000 @@ -116,7 +116,11 @@ friend bool operator==(const Discovery& lhs, const Discovery& rhs) { return lhs.characteristic == rhs.characteristic && lhs.onDiscovery == rhs.onDiscovery && - lhs.onTerminate == lhs.onTerminate; + lhs.onTerminate == rhs.onTerminate; + } + + friend bool operator!=(const Discovery& lhs, const Discovery& rhs) { + return !(lhs == rhs); } };