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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user