tst_qscopedpointer: Actually test what test name says it should test
Change-Id: Idda6e34c4438d1695f8268426fe923ad51ff6d10 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
2a86c565e8
commit
58114b5ab0
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue