--- a/src/lte/examples/lena-dual-stripe.cc Sat Sep 07 12:18:26 2013 +0300
+++ b/src/lte/examples/lena-dual-stripe.cc Sat Sep 07 12:20:22 2013 +0300
@@ -568,8 +568,6 @@
Ipv4InterfaceContainer ueIpIfaces;
Ptr<Node> remoteHost;
NetDeviceContainer ueDevs;
- NetDeviceContainer::Iterator ueDevIt;
- NetDeviceContainer::Iterator enbDevIt;
if (epc)
{
@@ -620,6 +618,8 @@
lteHelper->AttachToClosestEnb (macroUeDevs, macroEnbDevs);
// each home UE is attached explicitly to its home eNB
+ NetDeviceContainer::Iterator ueDevIt;
+ NetDeviceContainer::Iterator enbDevIt;
for (ueDevIt = homeUeDevs.Begin (), enbDevIt = homeEnbDevs.Begin ();
ueDevIt != homeUeDevs.End (); ++ueDevIt, ++enbDevIt)
{