src/node/node.cc
changeset 2933 c7983cfa2cb3
parent 2735 f810ed605e00
child 2965 4b28e9740e3b
--- a/src/node/node.cc	Wed Apr 09 14:28:16 2008 -0700
+++ b/src/node/node.cc	Wed Apr 09 14:58:52 2008 -0700
@@ -39,11 +39,11 @@
     .AddAttribute ("DeviceList", "The list of devices associated to this Node.",
                    ObjectVector (),
                    MakeObjectVectorAccessor (&Node::m_devices),
-                   MakeObjectVectorChecker ())
+                   MakeObjectVectorChecker<NetDevice> ())
     .AddAttribute ("ApplicationList", "The list of applications associated to this Node.",
                    ObjectVector (),
                    MakeObjectVectorAccessor (&Node::m_applications),
-                   MakeObjectVectorChecker ())
+                   MakeObjectVectorChecker<Application> ())
     .AddAttribute ("Id", "The id (unique integer) of this Node.",
                    TypeId::ATTR_GET, // allow only getting it.
                    Uinteger (0),