diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-08-07 01:45:40 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:25:03 +0300 |
commit | baf239aef8bfbc76b2e1b09c5dc59b8463160a3b (patch) | |
tree | c9896e450a4a8a7113b94a74809d7dbc7cb98eeb /qt/draw_widget.hpp | |
parent | 180657e756fefbe5d601c64b860ee470217b4956 (diff) |
[c++11] Migrated from scoped_ptr to unique_ptr
Diffstat (limited to 'qt/draw_widget.hpp')
-rw-r--r-- | qt/draw_widget.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qt/draw_widget.hpp b/qt/draw_widget.hpp index 477c9138ef..c4aa98e32c 100644 --- a/qt/draw_widget.hpp +++ b/qt/draw_widget.hpp @@ -9,7 +9,7 @@ #include "../platform/video_timer.hpp" -#include "../std/scoped_ptr.hpp" +#include "../std/unique_ptr.hpp" #include <QtCore/QTimer> #include <QtOpenGL/qgl.h> @@ -45,8 +45,8 @@ namespace qt bool m_isInitialized; bool m_isTimerStarted; - scoped_ptr<Framework> m_framework; - scoped_ptr<VideoTimer> m_videoTimer; + unique_ptr<Framework> m_framework; + unique_ptr<VideoTimer> m_videoTimer; bool m_isDrag; bool m_isRotate; @@ -140,7 +140,7 @@ namespace qt QScaleSlider * m_pScale; - scoped_ptr<ScheduledTask> m_scheduledTask; + unique_ptr<ScheduledTask> m_scheduledTask; m2::PointD m_taskPoint; bool m_wasLongClick, m_isCleanSingleClick; |