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:
Diffstat (limited to 'search/projection_on_street.hpp')
-rw-r--r--search/projection_on_street.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/search/projection_on_street.hpp b/search/projection_on_street.hpp
index f27afa5104..d7cd99c9c6 100644
--- a/search/projection_on_street.hpp
+++ b/search/projection_on_street.hpp
@@ -3,7 +3,8 @@
#include "geometry/parametrized_segment.hpp"
#include "geometry/point2d.hpp"
-#include "std/vector.hpp"
+#include <cstddef>
+#include <vector>
namespace search
{
@@ -29,7 +30,7 @@ struct ProjectionOnStreet
class ProjectionOnStreetCalculator
{
public:
- explicit ProjectionOnStreetCalculator(vector<m2::PointD> const & points);
+ explicit ProjectionOnStreetCalculator(std::vector<m2::PointD> const & points);
// Finds nearest point on the street to the |point|. If such point
// is located within |m_maxDistMeters|, stores projection in |proj|
@@ -38,6 +39,6 @@ public:
bool GetProjection(m2::PointD const & point, ProjectionOnStreet & proj) const;
private:
- vector<m2::ParametrizedSegment<m2::PointD>> m_segments;
+ std::vector<m2::ParametrizedSegment<m2::PointD>> m_segments;
};
} // namespace search