diff --git a/src/node/node.h b/src/node/node.h index ce19a719e..4e4e7b8c7 100644 --- a/src/node/node.h +++ b/src/node/node.h @@ -160,7 +160,7 @@ private: * at this point to setup the node's receive function for * the NetDevice packets. */ - virtual void DoAddDevice (Ptr device) const = 0; + virtual void DoAddDevice (Ptr device) = 0; uint32_t m_id; // Node id for this node uint32_t m_sid; // System id for this node