qt5base-lts/tests/auto/corelib/tools/qsharedpointer
Thiago Macieira 401507b348 Fix constructing a QSharedPointer<const> of a QEnableSharedFromThis type
It should compile, since the std::shared_ptr does.

[ChangeLog][QtCore][QSharedPointer] Fixed a problem that would cause a
compilation error when constructing a QSharedPointer of a const type
when the type derives from QEnableSharedFromThis.

Task-number: QTBUG-49748
Change-Id: I8de47ed6c7be4847b99bffff141c84f5e0b6bea8
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-12-08 06:32:20 +00:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
externaltests.cpp tst_QSharedPointer: Add jom.exe to the list of make tools to be searched. 2015-10-02 09:34:35 +00:00
externaltests.h Update copyright headers 2015-02-11 06:49:51 +00:00
externaltests.pri remove pointless conditional defines 2015-11-16 14:40:20 +00:00
forwarddeclared.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
forwarddeclared.h Update copyright headers 2015-02-11 06:49:51 +00:00
nontracked.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
nontracked.h Update copyright headers 2015-02-11 06:49:51 +00:00
qsharedpointer.pro Don't increase the reference count if dynamic_cast failed 2013-01-04 17:30:19 +01:00
tst_qsharedpointer.cpp Fix constructing a QSharedPointer<const> of a QEnableSharedFromThis type 2015-12-08 06:32:20 +00:00
wrapper.cpp Update copyright headers 2015-02-11 06:49:51 +00:00
wrapper.h Update copyright headers 2015-02-11 06:49:51 +00:00