Changeset 5412 for source/ariba/communication
- Timestamp:
- Jul 29, 2009, 11:45:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/EndpointDescriptor.h
r5406 r5412 111 111 bool operator==(const EndpointDescriptor& rh) const { 112 112 if (rh.isUnspecified() && isUnspecified()) return true; 113 if (rh.isUnspecified() ^ isUnspecified()) return false; 114 115 assert( (!rh.isUnspecified()) && (!isUnspecified()) ); 113 116 return endpoints == rh.endpoints; 114 117 } 115 118 116 119 bool operator!=(const EndpointDescriptor& rh) const { 117 if (!rh.isUnspecified() && !isUnspecified()) return true; 118 return endpoints != rh.endpoints; 120 return ( !operator==(rh) ); 119 121 } 120 122
Note:
See TracChangeset
for help on using the changeset viewer.