X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FBase%2FDijkstra.hxx;h=9de7912d2597427ed381279679432b659115f72a;hb=0f167b3c36824ce1cd126e287aeeade116f60ccb;hp=85380aa8a127de82828aadaf25c3111a459b4aeb;hpb=5bd12737b3a5054d972501d15678d2a245753b77;p=FrontAlgorithms.git diff --git a/lib/fpa/Base/Dijkstra.hxx b/lib/fpa/Base/Dijkstra.hxx index 85380aa..9de7912 100644 --- a/lib/fpa/Base/Dijkstra.hxx +++ b/lib/fpa/Base/Dijkstra.hxx @@ -61,7 +61,7 @@ _AfterGenerateData( ) mst->ClearSeeds( ); mst->SetCollisions( this->m_Collisions ); - TSeeds seeds = this->GetSeeds( ); + const TSeeds& seeds = this->GetSeeds( ); typename TSeeds::const_iterator sIt = seeds.begin( ); for( ; sIt != seeds.end( ); ++sIt ) {