src/csma-layout/model/csma-star-helper.cc
changeset 10968 2d29fee2b7b8
parent 8798 5d8dfd7c6609
--- a/src/csma-layout/model/csma-star-helper.cc	Fri Sep 26 12:44:13 2014 -0700
+++ b/src/csma-layout/model/csma-star-helper.cc	Fri Sep 26 15:51:00 2014 -0700
@@ -24,9 +24,9 @@
 #include "ns3/vector.h"
 #include "ns3/log.h"
 
-NS_LOG_COMPONENT_DEFINE ("CsmaStarHelper");
+namespace ns3 {
 
-namespace ns3 {
+NS_LOG_COMPONENT_DEFINE ("CsmaStarHelper");
 
 CsmaStarHelper::CsmaStarHelper (uint32_t numSpokes,
                                 CsmaHelper csmaHelper)