convert use of <cassert> to "ns3/assert.h"
This commit is contained in:
1 parent
772bfdc614
commit
b23ee44ad8
37 files changed
+150
-149
No files matched your search
+2
-2
@@ -19,7 +19,7 @@
|
||||
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include "ns3/assert.h"
|
||||
#include "ns3/packet.h"
|
||||
#include "udp.h"
|
||||
#include "udp-header.h"
|
||||
@@ -95,7 +95,7 @@ Udp::Receive(Packet& packet,
|
||||
}
|
||||
UdpSocket *socket = endPoint->GetSocket ();
|
||||
socket->ForwardUp (packet, source, udpHeader.GetSource ());
|
||||
assert (socket != 0);
|
||||
NS_ASSERT (socket != 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user