fix bug 122: get rid of duplicate argument to QueryInterface
This commit is contained in:
1 parent
6b0e717a19
commit
f3e77eea3d
31 files changed
+128
-121
No files matched your search
@@ -47,7 +47,7 @@ Sample ()
|
||||
for (NodeList::Iterator nodeIter = NodeList::Begin (); nodeIter != NodeList::End (); nodeIter++)
|
||||
{
|
||||
Ptr<Node> node = *nodeIter;
|
||||
Ptr<MobilityModel> mobility = node->QueryInterface<MobilityModel> (MobilityModel::iid);
|
||||
Ptr<MobilityModel> mobility = node->QueryInterface<MobilityModel> ();
|
||||
Vector pos = mobility->GetPosition ();
|
||||
Vector vel = mobility->GetVelocity ();
|
||||
|
||||
|
||||
Reference in new issue
Block a user