remove dead method declaration and dead use

Mathieu Lacage 2007-05-02 23:45:26 +02:00
parent 77a1488dd2
commit 08e8dbec66
2 changed files with 1 additions and 2 deletions

View File

@ -34,7 +34,7 @@ UdpSocket::UdpSocket (Node *node)
m_shutdownRecv (false),
m_connected (false)
{
NS_ASSERT (GetUdp () != 0);
NS_ASSERT (m_node->GetUdp () != 0);
m_udp = m_node->GetUdp ();
m_node->Ref ();
}

View File

@ -77,7 +77,6 @@ private:
int FinishBind (void);
void ForwardUp (const Packet &p, Ipv4Address saddr, uint16_t sport);
void Destroy (void);
Udp *GetUdp (void) const;
int DoSendPacketTo (const Packet &p, Ipv4Address daddr, uint16_t dport,
ns3::Callback<void, Socket*, uint32_t> dataSent);