Ignore:
Timestamp:
Jul 29, 2009, 11:45:17 AM (15 years ago)
Author:
Christoph Mayer
Message:

-logging fix, -sdp fix, -endpoint operator fix, -endpoint aufräumen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/EndpointDescriptor.h

    r5406 r5412  
    111111        bool operator==(const EndpointDescriptor& rh) const {
    112112                if (rh.isUnspecified() && isUnspecified()) return true;
     113                if (rh.isUnspecified() ^  isUnspecified()) return false;
     114
     115                assert( (!rh.isUnspecified()) && (!isUnspecified()) );
    113116                return endpoints == rh.endpoints;
    114117        }
    115118
    116119        bool operator!=(const EndpointDescriptor& rh) const {
    117                 if (!rh.isUnspecified() && !isUnspecified()) return true;
    118                 return endpoints != rh.endpoints;
     120                return ( !operator==(rh) );
    119121        }
    120122
Note: See TracChangeset for help on using the changeset viewer.