rename NodeList::PeekNode to NodeList::GetNode
This commit is contained in:
@@ -145,9 +145,10 @@ NodeList::CreateTraceResolver (TraceContext const &context)
|
||||
return SimulationSingleton<NodeListPriv>::Get ()->CreateTraceResolver (context);
|
||||
}
|
||||
Ptr<Node>
|
||||
NodeList::PeekNode (uint32_t n)
|
||||
NodeList::GetNode (uint32_t n)
|
||||
{
|
||||
return SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
|
||||
Node *node = SimulationSingleton<NodeListPriv>::Get ()->PeekNode (n);
|
||||
return node;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
static Iterator End (void);
|
||||
static TraceResolver *CreateTraceResolver (TraceContext const &context);
|
||||
|
||||
static Ptr<Node> PeekNode (uint32_t n);
|
||||
static Ptr<Node> GetNode (uint32_t n);
|
||||
};
|
||||
|
||||
}//namespace ns3
|
||||
|
||||
Reference in New Issue
Block a user