Changeset 5624 for source/ariba/communication/BaseCommunication.h
- Timestamp:
- Aug 3, 2009, 2:29:12 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/BaseCommunication.h
r5614 r5624 234 234 localLink(LinkID::UNSPECIFIED), localLocator(NULL), 235 235 remoteLink(LinkID::UNSPECIFIED), remoteLocator(NULL), 236 remoteEndpoint(EndpointDescriptor::UNSPECIFIED), up(false), unspecified(false) {236 up(false) { 237 237 } 238 238 … … 243 243 244 244 bool isUnspecified() const { 245 return unspecified; 245 return (this == &UNSPECIFIED()); 246 } 247 248 static LinkDescriptor& UNSPECIFIED(){ 249 static LinkDescriptor* unspec = NULL; 250 if(unspec == NULL) unspec = new LinkDescriptor(); 251 return *unspec; 246 252 } 247 253
Note:
See TracChangeset
for help on using the changeset viewer.