src/core/ptr.h
changeset 286 57e6a2006962
parent 227 482a61824ef4
child 426 7d0bde915fd6
--- a/src/core/ptr.h	Fri Feb 16 09:42:53 2007 +0100
+++ b/src/core/ptr.h	Fri Feb 16 09:56:21 2007 +0100
@@ -23,7 +23,7 @@
 #define PTR_H
 
 #include <stdint.h>
-#include <cassert>
+#include "assert.h"
 
 namespace ns3 {
 
@@ -246,7 +246,7 @@
 T *
 Ptr<T>::Remove (void) 
 {
-  assert ((*m_count) == 1);
+  NS_ASSERT ((*m_count) == 1);
   T *retval = m_ptr;
   m_ptr = 0;
   return retval;