[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <sstream>
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("PyViz");
|
||||
|
||||
#define NUM_LAST_PACKETS 10
|
||||
|
||||
static
|
||||
|
||||
@@ -22,11 +22,9 @@
|
||||
#include "ns3/default-simulator-impl.h"
|
||||
#include "ns3/log.h"
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("VisualSimulatorImpl");
|
||||
|
||||
namespace ns3 {
|
||||
|
||||
|
||||
NS_LOG_COMPONENT_DEFINE ("VisualSimulatorImpl");
|
||||
|
||||
NS_OBJECT_ENSURE_REGISTERED (VisualSimulatorImpl);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user