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 'map/map_tests/navigator_test.cpp')
-rw-r--r--map/map_tests/navigator_test.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/map/map_tests/navigator_test.cpp b/map/map_tests/navigator_test.cpp
index cadeccbcbf..d35c769a5a 100644
--- a/map/map_tests/navigator_test.cpp
+++ b/map/map_tests/navigator_test.cpp
@@ -30,8 +30,7 @@
UNIT_TEST(Navigator_Scale2Points)
{
- ScalesProcessor scales;
- Navigator navigator(scales);
+ Navigator navigator;
navigator.OnSize(0, 0, 200, 100);
navigator.SetFromRect(m2::AnyRectD(m2::RectD(0, 0, 8, 4)));
@@ -69,8 +68,7 @@ namespace
UNIT_TEST(Navigator_G2P_P2G)
{
- ScalesProcessor scales;
- Navigator navigator(scales);
+ Navigator navigator;
// Initialize.
navigator.OnSize(0, 0, 200, 100);