storing edges in an std::list

for/release
Denes Matetelki 12 years ago
parent 7c890f19c6
commit 1c0001948f

@ -2,6 +2,7 @@
#define GRAPH_H #define GRAPH_H
#include <vector> #include <vector>
#include <list>
#include <algorithm> #include <algorithm>
#include <iterator> #include <iterator>
@ -43,7 +44,7 @@ private:
void removeAllEdgesTo(const_reference destination); void removeAllEdgesTo(const_reference destination);
pointer m_data; pointer m_data;
std::vector<Edge> m_edges; std::list<Edge> m_edges;
}; };

Loading…
Cancel
Save