[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
This commit is contained in:
@@ -49,9 +49,10 @@
|
||||
#include "ns3/wifi-80211p-helper.h"
|
||||
#include "ns3/wave-mac-helper.h"
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("WifiSimpleOcb");
|
||||
using namespace ns3;
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("WifiSimpleOcb");
|
||||
|
||||
/*
|
||||
* In WAVE module, there is no net device class named like "Wifi80211pNetDevice",
|
||||
* instead, we need to use Wifi80211pHelper to create an object of
|
||||
|
||||
Reference in New Issue
Block a user