From 0c73646d9f1ebbacad8e74db6397f2572d113c8c Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Wed, 21 Sep 2022 17:06:12 +0100 Subject: [PATCH] lte: Do not import std::vector to namespace --- src/lte/examples/lena-rem-sector-antenna.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lte/examples/lena-rem-sector-antenna.cc b/src/lte/examples/lena-rem-sector-antenna.cc index 9e9c97128..b0ad16868 100644 --- a/src/lte/examples/lena-rem-sector-antenna.cc +++ b/src/lte/examples/lena-rem-sector-antenna.cc @@ -32,7 +32,6 @@ // #include "ns3/gtk-config-store.h" using namespace ns3; -using std::vector; int main (int argc, char *argv[]) @@ -63,7 +62,7 @@ main (int argc, char *argv[]) NodeContainer enbNodes; NodeContainer oneSectorNodes; NodeContainer threeSectorNodes; - vector < NodeContainer > ueNodes; + std::vector ueNodes; oneSectorNodes.Create (nEnb-3); threeSectorNodes.Create (3); @@ -79,7 +78,7 @@ main (int argc, char *argv[]) } MobilityHelper mobility; - vector enbPosition; + std::vector enbPosition; Ptr < ListPositionAllocator > positionAlloc = CreateObject (); Ptr < Building > building; building = Create (); @@ -165,7 +164,7 @@ main (int argc, char *argv[]) // Create Devices and install them in the Nodes (eNB and UE) NetDeviceContainer enbDevs; - vector < NetDeviceContainer > ueDevs; + std::vector ueDevs; // power setting in dBm for small cells Config::SetDefault ("ns3::LteEnbPhy::TxPower", DoubleValue (20.0));