changeset 1293 | a6761bd6b649 |
parent 968 | 70d02500c9d5 |
child 1460 | 0c9be520ba9f |
--- a/src/mobility/mobility-model.h Fri Aug 24 10:33:58 2007 +0200 +++ b/src/mobility/mobility-model.h Fri Aug 24 12:45:45 2007 +0200 @@ -57,7 +57,7 @@ * \param position a reference to another mobility model * \returns the distance between the two objects. Unit is meters. */ - double GetDistanceFrom (const MobilityModel &position) const; + double GetDistanceFrom (Ptr<const MobilityModel> position) const; protected: /** * Must be invoked by subclasses when the course of the