diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-12-06 15:46:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-07 13:24:06 (GMT) |
commit | c2211703d35de8fc24e818680c033503b96167ff (patch) | |
tree | a6b903d501c3c8bb074566497cb90800960e318f /Tests/QtAutoUicInterface/mywidget.h | |
parent | 2da0875f3a8cc91a8355298cc8da0a34f98acf09 (diff) | |
download | CMake-c2211703d35de8fc24e818680c033503b96167ff.zip CMake-c2211703d35de8fc24e818680c033503b96167ff.tar.gz CMake-c2211703d35de8fc24e818680c033503b96167ff.tar.bz2 |
QtAutogen: Tests: Don't use std::auto_ptr
Diffstat (limited to 'Tests/QtAutoUicInterface/mywidget.h')
-rw-r--r-- | Tests/QtAutoUicInterface/mywidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/QtAutoUicInterface/mywidget.h b/Tests/QtAutoUicInterface/mywidget.h index fc49e80..c23e55d 100644 --- a/Tests/QtAutoUicInterface/mywidget.h +++ b/Tests/QtAutoUicInterface/mywidget.h @@ -16,9 +16,10 @@ class MyWidget : public QWidget Q_OBJECT public: explicit MyWidget(QWidget* parent = 0); + ~MyWidget(); private: - const std::auto_ptr<Ui::MyWidget> ui; + Ui::MyWidget* ui; }; #endif |