Skip to content
Permalink
Browse files

fix compile errors

  • Loading branch information
Sergey Yakushevs
Sergey Yakushevs committed May 27, 2011
1 parent 0564e47 commit 68490abdfc46d5dbf94be0d1860cbd194d846ae3
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/plugins/roadgraph/shortestpathwidget.cpp
@@ -276,9 +276,11 @@ bool RgShortestPathWidget::getPath( QgsGraph* shortestTree, QgsPoint& p1, QgsPoi
return false;
}

QgsGraph *graph = builder.graph();

QVector< int > pointIdx(0,0);
QVector< double > pointCost(0,0.0);

int startVertexIdx = graph->findVertex( p1 );
std::cout << " startVertexIdx " << startVertexIdx << "\n";
int criterionNum = 0;

0 comments on commit 68490ab

Please sign in to comment.
You can’t perform that action at this time.