forked from qt-creator/qt-creator
Handling raw pointer can easily lead to mistakes. So it's better to remove unique pointer. In this case a deleteLater pointer is added. The pointer has not be tested for null because of: 23.11.1.2.2 unique_ptr destructor [unique.ptr.single.dtor] 2 Effects: If get() == nullptr there are no effects. Otherwise get_deleter()(get()). Change-Id: I97eeb86b7316fc93fbed89707644ab7dde7f89f6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2.6 KiB
2.6 KiB