diff options
author | Denis Koronchik <denis@mapswithme.com> | 2014-11-26 18:24:34 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:34:47 +0300 |
commit | 49ff59a35b064574e9e6657a447ae33a3ec2deee (patch) | |
tree | ac65de3391aabdd7244c948fb6b98d8c8e41b9a0 /3party/osrm | |
parent | 300497fc53e3eb5d8af27d41c051f03d4cbb5cae (diff) |
Improve turns calculation
Diffstat (limited to '3party/osrm')
-rw-r--r-- | 3party/osrm/osrm-backend/Server/DataStructures/BaseDataFacade.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/3party/osrm/osrm-backend/Server/DataStructures/BaseDataFacade.h b/3party/osrm/osrm-backend/Server/DataStructures/BaseDataFacade.h index 0869cdc307..11e5dc30d3 100644 --- a/3party/osrm/osrm-backend/Server/DataStructures/BaseDataFacade.h +++ b/3party/osrm/osrm-backend/Server/DataStructures/BaseDataFacade.h @@ -64,7 +64,11 @@ template <class EdgeDataT> class BaseDataFacade virtual EdgeDataT &GetEdgeData(const EdgeID e) = 0; - virtual EdgeDataT &GetEdgeData(const EdgeID e, NodeID node) { static EdgeDataT edge; return edge; } + virtual EdgeDataT GetEdgeData(const EdgeID e, NodeID node) + { + EdgeDataT edge; + return edge; + } // virtual const EdgeDataT &GetEdgeData( const EdgeID e ) const = 0; |