Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2015-01-11 07:58:08 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:35:59 +0300
commit42eecb6c9ead1a8ff39c2463e688c6a69222d3a1 (patch)
tree6130bd68e5d15087ffb5b935c7db5857fa1f459e /3party/osrm
parentf74bd1a270db8d699769a34e5f27dc7e10f4d6aa (diff)
Warning fixes
Diffstat (limited to '3party/osrm')
-rw-r--r--3party/osrm/osrm-backend/DataStructures/HashTable.h2
-rw-r--r--3party/osrm/osrm-backend/RoutingAlgorithms/BasicRoutingInterface.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/3party/osrm/osrm-backend/DataStructures/HashTable.h b/3party/osrm/osrm-backend/DataStructures/HashTable.h
index 8ff4688363..40d952a9f8 100644
--- a/3party/osrm/osrm-backend/DataStructures/HashTable.h
+++ b/3party/osrm/osrm-backend/DataStructures/HashTable.h
@@ -62,7 +62,7 @@ class HashTable
return Value();
}
- inline const bool Holds(Key const &key) const
+ inline bool Holds(Key const &key) const
{
for (const auto &key_val_pair : table)
{
diff --git a/3party/osrm/osrm-backend/RoutingAlgorithms/BasicRoutingInterface.h b/3party/osrm/osrm-backend/RoutingAlgorithms/BasicRoutingInterface.h
index 8d1a3d769c..f5e7225a21 100644
--- a/3party/osrm/osrm-backend/RoutingAlgorithms/BasicRoutingInterface.h
+++ b/3party/osrm/osrm-backend/RoutingAlgorithms/BasicRoutingInterface.h
@@ -149,10 +149,10 @@ template <class DataFacadeT> class BasicRoutingInterface
const PhantomNodes &phantom_node_pair,
std::vector<PathData> &unpacked_path) const
{
- const bool start_traversed_in_reverse =
- (packed_path.front() != phantom_node_pair.source_phantom.forward_node_id);
- const bool target_traversed_in_reverse =
- (packed_path.back() != phantom_node_pair.target_phantom.forward_node_id);
+// const bool start_traversed_in_reverse =
+// (packed_path.front() != phantom_node_pair.source_phantom.forward_node_id);
+// const bool target_traversed_in_reverse =
+// (packed_path.back() != phantom_node_pair.target_phantom.forward_node_id);
const unsigned packed_path_size = static_cast<unsigned>(packed_path.size());
std::stack<std::pair<NodeID, NodeID>> recursion_stack;