diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-07-16 20:56:15 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:20:43 +0300 |
commit | 8f3040e62ce3d0414aea1322d78cc2ee5c4190c2 (patch) | |
tree | 706737982eb453040005776aad93b742aadb79e7 /qt/draw_widget.hpp | |
parent | cec98bb6b9ffb5c70108e5dfd1254fbcbc43a53b (diff) |
separated benchmarking code into Framework ancestor.
Diffstat (limited to 'qt/draw_widget.hpp')
-rw-r--r-- | qt/draw_widget.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt/draw_widget.hpp b/qt/draw_widget.hpp index ce50b65ddc..40daa385ac 100644 --- a/qt/draw_widget.hpp +++ b/qt/draw_widget.hpp @@ -7,6 +7,8 @@ #include "../map/framework.hpp" #include "../map/navigator.hpp" +#include "../std/auto_ptr.hpp" + #include <QtCore/QTimer> //class FileReader; @@ -30,7 +32,7 @@ namespace qt typedef model::FeaturesFetcher model_t; - FrameWork<model_t> m_framework; + auto_ptr<Framework<model_t> > m_framework; bool m_isDrag; |