Changeset 9297 for code/branches/presentation2012merge/src/modules/pickup/PickupCollectionIdentifier.cc
- Timestamp:
- Jun 14, 2012, 11:10:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pickup/PickupCollectionIdentifier.cc
r9290 r9297 72 72 assert(identifier); 73 73 74 // Slight un-niceity to cast the const PickupIdentifier to a const PickupCollectionIdentifier, but since we cast to a const, there is no harm done. 75 PickupIdentifier* temp = const_cast<PickupIdentifier*>(identifier); 76 const PickupCollectionIdentifier* collectionIdentifier = orxonox_cast<PickupCollectionIdentifier*>(temp); 74 const PickupCollectionIdentifier* collectionIdentifier = orxonox_cast<const PickupCollectionIdentifier*>(identifier); 77 75 78 76 // If the input PickupIdentifier 'identifier' is no PickupCollectionIdentifier then just the two PickupIdentifiers are compared.
Note: See TracChangeset
for help on using the changeset viewer.