From 1c0001948fbaf923d533924a51b4fb3d96cc9b10 Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Tue, 12 Mar 2013 22:00:48 +0100 Subject: [PATCH] storing edges in an std::list --- graph.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph.h b/graph.h index c5529e4..6c754cd 100644 --- a/graph.h +++ b/graph.h @@ -2,6 +2,7 @@ #define GRAPH_H #include +#include #include #include @@ -43,7 +44,7 @@ private: void removeAllEdgesTo(const_reference destination); pointer m_data; - std::vector m_edges; + std::list m_edges; };