tst_qscopedpointer: Actually test what test name says it should test

Change-Id: Idda6e34c4438d1695f8268426fe923ad51ff6d10
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Tor Arne Vestbø 2017-04-30 21:22:56 +02:00
parent 2a86c565e8
commit 58114b5ab0
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class MySubClass : public MyClass
void tst_QScopedPointer::useSubClassInConstructor()
{
/* Use a syntax which users typically would do. */
QScopedPointer<MyClass> p(new MyClass());
QScopedPointer<MyClass> p(new MySubClass());
}
void tst_QScopedPointer::dataOnValue()