diff --git a/map/map_tests/map_foreach_test.cpp b/map/map_tests/map_foreach_test.cpp index 177d02b6f8..d4a06bf6a6 100644 --- a/map/map_tests/map_foreach_test.cpp +++ b/map/map_tests/map_foreach_test.cpp @@ -201,8 +201,8 @@ namespace { class FindOffset { - pair const & m_test; int m_level; + pair const & m_test; public: FindOffset(int level, pair const & test) diff --git a/qt/draw_widget.cpp b/qt/draw_widget.cpp index 5708405339..a4a402b31f 100644 --- a/qt/draw_widget.cpp +++ b/qt/draw_widget.cpp @@ -17,8 +17,8 @@ namespace qt m_handle(new handle_t(this)), m_framework(m_handle), m_isDrag(false), - m_pScale(0), - m_redrawInterval(100) + m_redrawInterval(100), + m_pScale(0) { m_framework.Init(storage); m_timer = new QTimer(this); @@ -216,7 +216,7 @@ namespace qt m_framework.SetRedrawEnabled(false); m_timer->start(m_redrawInterval); //m_framework.Scale(exp(e->delta() / 360.0)); - m_framework.ScaleToPoint(ScaleToPointEvent(e->pos().x(), e->pos().y(), exp(e->delta() / 360.0))); + m_framework.ScaleToPoint(ScaleToPointEvent(e->pos().x(), e->pos().y(), exp(e->delta() / 360.0))); UpdateScaleControl(); } }