2
0
mirror of https://github.com/boostorg/graph.git synced 2026-01-28 07:12:14 +00:00

added this-> to access m_vis, since the base class is dependent

[SVN r15270]
This commit is contained in:
Jeremy Siek
2002-09-12 02:27:46 +00:00
parent 1b25060368
commit 25dcd6f92c

View File

@@ -69,11 +69,11 @@ namespace boost {
template <class Edge, class Graph>
void edge_relaxed(Edge e, Graph& g) {
invoke_visitors(m_vis, e, g, on_edge_relaxed());
invoke_visitors(this->m_vis, e, g, on_edge_relaxed());
}
template <class Edge, class Graph>
void edge_not_relaxed(Edge e, Graph& g) {
invoke_visitors(m_vis, e, g, on_edge_not_relaxed());
invoke_visitors(this->m_vis, e, g, on_edge_not_relaxed());
}
private:
template <class Edge, class Graph>