internet,olsr,wimax: Remove unused typedef
This commit is contained in:
@@ -58,8 +58,6 @@ operator<<(std::ostream& os, const SPFVertex::VertexType& t)
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, const CandidateQueue& q)
|
||||
{
|
||||
typedef CandidateQueue::CandidateList_t List_t;
|
||||
typedef List_t::const_iterator CIter_t;
|
||||
const CandidateQueue::CandidateList_t& list = q.m_candidates;
|
||||
|
||||
os << "*** CandidateQueue Begin (<id, distance, LSA-type>) ***" << std::endl;
|
||||
|
||||
@@ -62,7 +62,6 @@ operator<<(std::ostream& os, const SPFVertex::NodeExit_t& exit)
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, const SPFVertex::ListOfSPFVertex_t& vs)
|
||||
{
|
||||
typedef SPFVertex::ListOfSPFVertex_t::const_iterator CIter_t;
|
||||
os << "{";
|
||||
for (auto iter = vs.begin(); iter != vs.end();)
|
||||
{
|
||||
@@ -302,7 +301,6 @@ SPFVertex::NodeExit_t
|
||||
SPFVertex::GetRootExitDirection(uint32_t i) const
|
||||
{
|
||||
NS_LOG_FUNCTION(this << i);
|
||||
typedef ListOfNodeExit_t::const_iterator CIter_t;
|
||||
|
||||
NS_ASSERT_MSG(i < m_ecmpRootExits.size(),
|
||||
"Index out-of-range when accessing SPFVertex::m_ecmpRootExits!");
|
||||
|
||||
@@ -2167,7 +2167,6 @@ RoutingProtocol::PopulateTwoHopNeighborSet(const olsr::MessageHeader& msg,
|
||||
continue;
|
||||
}
|
||||
|
||||
typedef std::vector<olsr::MessageHeader::Hello::LinkMessage> LinkMessageVec;
|
||||
for (auto linkMessage = hello.linkMessages.begin(); linkMessage != hello.linkMessages.end();
|
||||
linkMessage++)
|
||||
{
|
||||
@@ -2250,7 +2249,6 @@ RoutingProtocol::PopulateMprSelectorSet(const olsr::MessageHeader& msg,
|
||||
|
||||
Time now = Simulator::Now();
|
||||
|
||||
typedef std::vector<olsr::MessageHeader::Hello::LinkMessage> LinkMessageVec;
|
||||
for (auto linkMessage = hello.linkMessages.begin(); linkMessage != hello.linkMessages.end();
|
||||
linkMessage++)
|
||||
{
|
||||
|
||||
@@ -216,7 +216,6 @@ int64_t
|
||||
SimpleOfdmWimaxChannel::AssignStreams(int64_t stream)
|
||||
{
|
||||
int64_t currentStream = stream;
|
||||
typedef std::list<Ptr<SimpleOfdmWimaxPhy>> PhyList;
|
||||
for (auto i = m_phyList.begin(); i != m_phyList.end(); i++)
|
||||
{
|
||||
Ptr<SimpleOfdmWimaxPhy> simpleOfdm = (*i);
|
||||
|
||||
Reference in New Issue
Block a user