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:
authorLev Dragunov <l.dragunov@corp.mail.ru>2015-03-20 17:18:46 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:40:41 +0300
commita0b92559252de90bb743063beaa3d4ceff893c13 (patch)
tree1a392972d9327282d18320e0fcf010aec42942aa /routing/osrm2feature_map.hpp
parent34458f38a0eb1bb06eb7d34bae11adfcaaba72af (diff)
Routing code refactoring
Diffstat (limited to 'routing/osrm2feature_map.hpp')
-rw-r--r--routing/osrm2feature_map.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/routing/osrm2feature_map.hpp b/routing/osrm2feature_map.hpp
index 96ba0367f0..cace07e256 100644
--- a/routing/osrm2feature_map.hpp
+++ b/routing/osrm2feature_map.hpp
@@ -9,10 +9,11 @@
#include "../base/scope_guard.hpp"
+#include "../std/limits.hpp"
#include "../std/string.hpp"
-#include "../std/vector.hpp"
#include "../std/unordered_map.hpp"
#include "../std/utility.hpp"
+#include "../std/vector.hpp"
#include "../3party/succinct/rs_bit_vector.hpp"
@@ -34,7 +35,7 @@ namespace OsrmMappingTypes {
uint16_t m_pointStart;
uint16_t m_pointEnd;
- static const uint32_t INVALID_FID = -1;
+ static const uint32_t INVALID_FID = numeric_limits<uint32_t>::max();
// No need to initialize something her (for vector<FtSeg>).
FtSeg() {}