register a correct TypeId
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 17 Apr 2009 13:45:25 +0200
changeset 4350 04bbe6fbdf3a
parent 4347 0b349dad4332
child 4351 4b42ad1b0e12
register a correct TypeId
src/devices/wifi/rraa-wifi-manager.cc
--- a/src/devices/wifi/rraa-wifi-manager.cc	Fri Apr 17 13:11:41 2009 +0200
+++ b/src/devices/wifi/rraa-wifi-manager.cc	Fri Apr 17 13:45:25 2009 +0200
@@ -29,6 +29,8 @@
 NS_LOG_COMPONENT_DEFINE ("RraaWifiManager");
 
 namespace ns3 {
+
+NS_OBJECT_ENSURE_REGISTERED(RraaWifiManager);
   
 RraaWifiRemoteStation::RraaWifiRemoteStation (Ptr<RraaWifiManager> stations)
   : m_stations (stations)
@@ -188,7 +190,7 @@
 TypeId 
 RraaWifiManager::GetTypeId (void)
 {
-  static TypeId tid = TypeId ("RraaWifiManager")
+  static TypeId tid = TypeId ("ns3::RraaWifiManager")
     .SetParent<WifiRemoteStationManager> ()
     .AddConstructor<RraaWifiManager> ()
     .AddAttribute ("Basic",