summaryrefslogtreecommitdiffstats
path: root/header.COMM
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-04-14 16:23:22 -0700
committerMarc Mutz <marc.mutz@kdab.com>2016-04-28 12:58:35 +0000
commite22a230a039a392e71322cb63610d07885a45168 (patch)
tree8d7ccb0c1ae14e14daec0d87e14c7fb4fa1b29ec /header.COMM
parenta7e3c17e755881aa3169a2bb662338bbd2c67512 (diff)
Make QSharedPointer without custom deleters call the correct destructor
Where "correct" is defined by what std::shared_ptr does as well as what happens when an intermediate QSharedPointer of the exact type of the constructor behaves That is, QSharedPointer<X> ptr(new Y); Behaves like QSharedPointer<X> ptr; { QSharedPointer<Y> tmp(new Y); ptr = tmp; } Change-Id: Id75834dab9ed466e94c7ffff14455d445f72592b Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'header.COMM')
0 files changed, 0 insertions, 0 deletions