diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2019-05-24 18:48:04 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2019-05-24 18:51:08 +0300 |
commit | 2069bcc5893838647f4c75602828c8ced00288e7 (patch) | |
tree | 421f55ad3f8ca6a1db3e565ab9147cc88471ad1b /routing | |
parent | c4fd55a3aa634e4bbaad2d34c641ae784aa7f8dc (diff) |
[routing] fix build
Diffstat (limited to 'routing')
-rw-r--r-- | routing/leaps_postprocessor.cpp | 3 | ||||
-rw-r--r-- | routing/leaps_postprocessor.hpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/routing/leaps_postprocessor.cpp b/routing/leaps_postprocessor.cpp index 9401cde9c9..336befd7dc 100644 --- a/routing/leaps_postprocessor.cpp +++ b/routing/leaps_postprocessor.cpp @@ -38,6 +38,9 @@ private: namespace routing { +// static +size_t const LeapsPostProcessor::kMaxStep = 5; + LeapsPostProcessor::LeapsPostProcessor(std::vector<Segment> const & path, IndexGraphStarter & starter) : m_path(path), m_starter(starter), diff --git a/routing/leaps_postprocessor.hpp b/routing/leaps_postprocessor.hpp index b5a9ed0a36..2590f1fb6d 100644 --- a/routing/leaps_postprocessor.hpp +++ b/routing/leaps_postprocessor.hpp @@ -57,7 +57,7 @@ public: std::vector<Segment> GetProcessedPath(); private: - static size_t constexpr kMaxStep = 5; + static size_t const kMaxStep; struct SegmentData { |