2
0
mirror of https://github.com/boostorg/graph.git synced 2026-02-11 11:52:12 +00:00

few fixes

[SVN r10077]
This commit is contained in:
Jeremy Siek
2001-05-09 05:14:16 +00:00
parent c39e9ba90d
commit a81199c4e8

View File

@@ -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) {