--- a/src/devices/bridge/bridge-channel.cc Wed Jun 10 08:36:51 2009 +0200
+++ b/src/devices/bridge/bridge-channel.cc Wed Jun 10 11:13:49 2009 +0200
@@ -29,7 +29,9 @@
BridgeChannel::GetTypeId (void)
{
static TypeId tid = TypeId ("ns3::BridgeChannel")
- .SetParent<Channel> ();
+ .SetParent<Channel> ()
+ .AddConstructor<BridgeChannel> ()
+ ;
return tid;
}
--- a/src/devices/wifi/wifi-net-device.cc Wed Jun 10 08:36:51 2009 +0200
+++ b/src/devices/wifi/wifi-net-device.cc Wed Jun 10 11:13:49 2009 +0200
@@ -38,6 +38,7 @@
{
static TypeId tid = TypeId ("ns3::WifiNetDevice")
.SetParent<NetDevice> ()
+ .AddConstructor<WifiNetDevice> ()
.AddAttribute ("Channel", "The channel attached to this device",
PointerValue (),
MakePointerAccessor (&WifiNetDevice::DoGetChannel),
--- a/src/internet-stack/ipv4-list-routing-impl.cc Wed Jun 10 08:36:51 2009 +0200
+++ b/src/internet-stack/ipv4-list-routing-impl.cc Wed Jun 10 11:13:49 2009 +0200
@@ -35,6 +35,7 @@
{
static TypeId tid = TypeId ("ns3::Ipv4ListRoutingImpl")
.SetParent<Ipv4ListRouting> ()
+ .AddConstructor<Ipv4ListRoutingImpl> ()
;
return tid;
}
--- a/src/internet-stack/ipv4-static-routing-impl.cc Wed Jun 10 08:36:51 2009 +0200
+++ b/src/internet-stack/ipv4-static-routing-impl.cc Wed Jun 10 11:13:49 2009 +0200
@@ -36,6 +36,7 @@
{
static TypeId tid = TypeId ("ns3::Ipv4StaticRoutingImpl")
.SetParent<Ipv4StaticRouting> ()
+ .AddConstructor<Ipv4StaticRoutingImpl> ()
;
return tid;
}