Skip to content
Snippets Groups Projects
Commit db3ef066 authored by Julien Malik's avatar Julien Malik
Browse files

BUG: fix compilation about ambigous use of tie with VC2010

parent a7dcfa16
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ RCC8EdgeIterator<TGraph> ...@@ -28,7 +28,7 @@ RCC8EdgeIterator<TGraph>
::RCC8EdgeIterator() ::RCC8EdgeIterator()
{ {
m_Graph = GraphType::New(); m_Graph = GraphType::New();
tie(m_Iter, m_End) = edges(*m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = edges(*m_Graph->GetGraph());
} }
/** /**
* Copy operator. * Copy operator.
...@@ -49,7 +49,7 @@ RCC8EdgeIterator<TGraph> ...@@ -49,7 +49,7 @@ RCC8EdgeIterator<TGraph>
::RCC8EdgeIterator(TGraph * graph) ::RCC8EdgeIterator(TGraph * graph)
{ {
m_Graph = graph; m_Graph = graph;
tie(m_Iter, m_End) = edges(*m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = edges(*m_Graph->GetGraph());
} }
/** /**
* Get the current edge value. * Get the current edge value.
...@@ -132,7 +132,7 @@ void ...@@ -132,7 +132,7 @@ void
RCC8EdgeIterator<TGraph> RCC8EdgeIterator<TGraph>
::GoToBegin(void) ::GoToBegin(void)
{ {
tie(m_Iter, m_End) = edges(*m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = edges(*m_Graph->GetGraph());
} }
/** /**
* Increment. * Increment.
......
...@@ -28,7 +28,7 @@ RCC8InEdgeIterator<TGraph> ...@@ -28,7 +28,7 @@ RCC8InEdgeIterator<TGraph>
::RCC8InEdgeIterator() ::RCC8InEdgeIterator()
{ {
m_Graph = GraphType::New(); m_Graph = GraphType::New();
tie(m_Iter, m_End) = in_edges(0, *m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = in_edges(0, *m_Graph->GetGraph());
} }
/** /**
* Copy operator. * Copy operator.
...@@ -51,7 +51,7 @@ RCC8InEdgeIterator<TGraph> ...@@ -51,7 +51,7 @@ RCC8InEdgeIterator<TGraph>
{ {
m_Graph = graph; m_Graph = graph;
m_VertexIndex = vertex; m_VertexIndex = vertex;
tie(m_Iter, m_End) = in_edges(vertex, *m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = in_edges(vertex, *m_Graph->GetGraph());
} }
/** /**
* Get the current edge value. * Get the current edge value.
...@@ -109,7 +109,7 @@ void ...@@ -109,7 +109,7 @@ void
RCC8InEdgeIterator<TGraph> RCC8InEdgeIterator<TGraph>
::GoToBegin(void) ::GoToBegin(void)
{ {
tie(m_Iter, m_End) = in_edges(m_VertexIndex, *m_Graph->GetGraph()); boost::tuples::tie(m_Iter, m_End) = in_edges(m_VertexIndex, *m_Graph->GetGraph());
} }
/** /**
* Increment. * Increment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment