28a29,30
> #include <algorithm>
>
58c60
< PerfectSwitch::addInPort(const Vector<MessageBuffer*>& in)
---
> PerfectSwitch::addInPort(const vector<MessageBuffer*>& in)
62c64
< m_in.insertAtBottom(in);
---
> m_in.push_back(in);
73c75
< PerfectSwitch::addOutPort(const Vector<MessageBuffer*>& out,
---
> PerfectSwitch::addOutPort(const vector<MessageBuffer*>& out,
82c84
< m_link_order.insertAtBottom(l);
---
> m_link_order.push_back(l);
85,86c87,88
< m_out.insertAtBottom(out);
< m_routing_table.insertAtBottom(routing_table_entry);
---
> m_out.push_back(out);
> m_routing_table.push_back(routing_table_entry);
114c116
< m_routing_table.insertAtBottom(routing_table_entry);
---
> m_routing_table.push_back(routing_table_entry);
164,165c166,167
< Vector<LinkID> output_links;
< Vector<NetDest> output_link_destinations;
---
> vector<LinkID> output_links;
> vector<NetDest> output_link_destinations;
209c211
< m_link_order.sortVector();
---
> sort(m_link_order.begin(), m_link_order.end());
223c225
< output_links.insertAtBottom(link);
---
> output_links.push_back(link);
230c232
< output_link_destinations.insertAtBottom(msg_dsts.AND(dst));
---
> output_link_destinations.push_back(msg_dsts.AND(dst));