Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wifi: Rename low and high to first and last to match documentation
  • Loading branch information
Alexander Krotov committed Mar 27, 2017
commit 8aa4b81dd9d7b81b3ff59d2cad8665960bc7182f
6 changes: 3 additions & 3 deletions src/wifi/helper/wifi-helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -747,11 +747,11 @@ WifiHelper::SetStandard (enum WifiPhyStandard standard)
NetDeviceContainer
WifiHelper::Install (const WifiPhyHelper &phyHelper,
const WifiMacHelper &macHelper,
NodeContainer::Iterator low,
NodeContainer::Iterator high) const
NodeContainer::Iterator first,
NodeContainer::Iterator last) const
{
NetDeviceContainer devices;
for (NodeContainer::Iterator i = low; i != high; ++i)
for (NodeContainer::Iterator i = first; i != last; ++i)
{
Ptr<Node> node = *i;
Ptr<WifiNetDevice> device = CreateObject<WifiNetDevice> ();
Expand Down
4 changes: 2 additions & 2 deletions src/wifi/helper/wifi-helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ class WifiHelper
NetDeviceContainer
virtual Install (const WifiPhyHelper &phyHelper,
const WifiMacHelper &macHelper,
NodeContainer::Iterator low,
NodeContainer::Iterator high) const;
NodeContainer::Iterator first,
NodeContainer::Iterator last) const;
/**
* \param phy the PHY helper to create PHY objects
* \param mac the MAC helper to create MAC objects
Expand Down