From 7fa409a72f56717b50d9530c7e988f87a1582be9 Mon Sep 17 00:00:00 2001 From: DennisOSRM Date: Wed, 25 Apr 2012 18:32:59 +0200 Subject: [PATCH] moving back to vector --- Contractor/EdgeBasedGraphFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contractor/EdgeBasedGraphFactory.cpp b/Contractor/EdgeBasedGraphFactory.cpp index d316a158f..a207816ba 100644 --- a/Contractor/EdgeBasedGraphFactory.cpp +++ b/Contractor/EdgeBasedGraphFactory.cpp @@ -52,7 +52,7 @@ EdgeBasedGraphFactory::EdgeBasedGraphFactory(int nodes, std::vectorfirst); + std::string usedSpeedProfile( speedProfile.get_child("").begin()->first ); BOOST_FOREACH(boost::property_tree::ptree::value_type &v, speedProfile.get_child(usedSpeedProfile)) { if("trafficSignalPenalty" == v.first) { std::string value = v.second.get("");