From a81199c4e8a574f3b669641daf172ad7a90c70d6 Mon Sep 17 00:00:00 2001 From: Jeremy Siek Date: Wed, 9 May 2001 05:14:16 +0000 Subject: [PATCH] few fixes [SVN r10077] --- include/boost/graph/stanford_graph.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/stanford_graph.hpp b/include/boost/graph/stanford_graph.hpp index 022688c1..f9db9bec 100644 --- a/include/boost/graph/stanford_graph.hpp +++ b/include/boost/graph/stanford_graph.hpp @@ -134,8 +134,8 @@ namespace boost { public: sgb_edge() : _arc(0), _src(0) { } sgb_edge(Arc* a, Vertex* s) : _arc(a), _src(s) { } - friend Vertex* source(self& e, sgb_graph_ptr) { return e._src; } - friend Vertex* target(self& e, sgb_graph_ptr) { return e._arc->tip; } + friend Vertex* source(self e, sgb_graph_ptr) { return e._src; } + friend Vertex* target(self e, sgb_graph_ptr) { return e._arc->tip; } friend bool operator==(const self& a, const self& b) { return a._arc == b._arc; } friend bool operator!=(const self& a, const self& b) {