fix segfault

This commit is contained in:
Mathieu Lacage
2007-05-02 15:14:27 +02:00
parent 9021652bd3
commit 2d41f0a3c1
5 changed files with 2 additions and 15 deletions

View File

@@ -26,11 +26,6 @@
namespace ns3{
ApplicationList::ApplicationList()
: Capability(0)
{
}
ApplicationList::ApplicationList(Node* n)
: Capability(n)
{
@@ -42,8 +37,7 @@ ApplicationList::~ApplicationList()
ApplicationList* ApplicationList::Copy(Node * n) const
{ // Copy this app list
ApplicationList* r = new ApplicationList();
r->SetNode(n);
ApplicationList* r = new ApplicationList(n);
return r;
}