From db8a447d67225a061475f8ec8cf33d11f24c2240 Mon Sep 17 00:00:00 2001 From: Konstantinos Katsaros Date: Tue, 29 Apr 2014 09:50:21 +0200 Subject: [PATCH] Bug 1903 - Namespace usage in olsr-state.cc/h --- RELEASE_NOTES | 1 + src/olsr/model/olsr-state.cc | 4 ++-- src/olsr/model/olsr-state.h | 5 ++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 3fac59588..f4fbaa63d 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -76,6 +76,7 @@ Bugs fixed - Bug 1889 - PointToPointNetDevive: In some cases MacTxDrop trace is not called - Bug 1890 - UdpClientTrace: MPEG frame size is squeezed into (insufficient) 16 bit integer - Bug 1891 - UdpSocketImpl::GetSockName doesn't return the IPv6 address +- Bug 1903 - Namespace usage in olsr-state.cc/h Release 3.19 ============= diff --git a/src/olsr/model/olsr-state.cc b/src/olsr/model/olsr-state.cc index f9d1a8554..5c3831b7d 100644 --- a/src/olsr/model/olsr-state.cc +++ b/src/olsr/model/olsr-state.cc @@ -30,7 +30,7 @@ namespace ns3 { - +namespace olsr { /********** MPR Selector Set Manipulation **********/ @@ -543,4 +543,4 @@ OlsrState::InsertAssociation (const Association &tuple) m_associations.push_back (tuple); } -} // namespace ns3 +}} // namespace olsr, ns3 diff --git a/src/olsr/model/olsr-state.h b/src/olsr/model/olsr-state.h index cb0ca55dd..c308d45e7 100644 --- a/src/olsr/model/olsr-state.h +++ b/src/olsr/model/olsr-state.h @@ -28,8 +28,7 @@ #include "olsr-repositories.h" namespace ns3 { - -using namespace olsr; +namespace olsr { /// This class encapsulates all data structures needed for maintaining internal state of an OLSR node. class OlsrState @@ -175,6 +174,6 @@ public: }; -} // namespace ns3 +}} // namespace olsr,ns3 #endif /* OLSR_STATE_H */