add destructor. Easier to plant a breakpoint in there.
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 09 Apr 2008 10:03:28 -0700
changeset 2900 b5deaba7280e
parent 2899 e5070e510fa8
child 2901 81ac5e25e8c2
add destructor. Easier to plant a breakpoint in there.
src/routing/olsr/olsr-agent-impl.cc
src/routing/olsr/olsr-agent-impl.h
--- a/src/routing/olsr/olsr-agent-impl.cc	Wed Apr 09 10:02:54 2008 -0700
+++ b/src/routing/olsr/olsr-agent-impl.cc	Wed Apr 09 10:03:28 2008 -0700
@@ -190,6 +190,9 @@
   m_midTimer (Timer::CANCEL_ON_DESTROY)
 {}
 
+AgentImpl::~AgentImpl ()
+{}
+
 void
 AgentImpl::SetNode (Ptr<Node> node)
 {
--- a/src/routing/olsr/olsr-agent-impl.h	Wed Apr 09 10:02:54 2008 -0700
+++ b/src/routing/olsr/olsr-agent-impl.h	Wed Apr 09 10:03:28 2008 -0700
@@ -52,6 +52,7 @@
   static TypeId GetTypeId (void);
 
   AgentImpl ();
+  virtual ~AgentImpl ();
 
   virtual void SetNode (Ptr<Node> node);