- Timestamp:
- Mar 5, 2010, 6:26:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3/src/modules/pickup/PickupCollectionIdentifier.cc
r6474 r6475 44 44 } 45 45 46 int PickupCollectionIdentifier::compare(const PickupIdentifier &identifier) const46 int PickupCollectionIdentifier::compare(const PickupIdentifier* identifier) const 47 47 { 48 PickupIdentifier* temp = const_cast<PickupIdentifier*>( &identifier);48 PickupIdentifier* temp = const_cast<PickupIdentifier*>(identifier); 49 49 const PickupCollectionIdentifier* collectionIdentifier = dynamic_cast<PickupCollectionIdentifier*>(temp); 50 50 if(collectionIdentifier == NULL) … … 60 60 { 61 61 62 if((*it)->compare(* *it2) < 0)62 if((*it)->compare(*it2) < 0) 63 63 return -1; 64 if((*it2)->compare(* *it) < 0)64 if((*it2)->compare(*it) < 0) 65 65 return 1; 66 66 }
Note: See TracChangeset
for help on using the changeset viewer.