swh:1:snp:673156c31a876c5b99b2fe3e89615529de9a3c44
Revision 9f983eac9f926b4ea3ee4ec860f58dc33a5b7fe7 authored by Marc Mutz on 22 February 2014, 22:30:22 UTC, committed by The Qt Project on 24 February 2014, 16:05:01 UTC
Instead of QSharedPointer<T>(new T), use QSharedPointer<T>::create(), since the latter co-locates the refcount and the T instance in a single memory allocation, unlike the first form, which uses separate memory allocations. Change-Id: I5095ac43448aad9a7e3ec07ed4dcdca869bcd9e8 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
1 parent 6813a21
Tip revision: ed928cee1233aee003610d5fadb56bdaeffbd7b2 authored by Jake Petroules on 22 September 2016, 17:55:20 UTC
Suppress deprecated warnings for some QSysInfo members
Suppress deprecated warnings for some QSysInfo members
Tip revision: ed928ce
File | Mode | Size |
---|---|---|
bin | ||
config.tests | ||
dist | ||
doc | ||
examples | ||
lib | ||
mkspecs | ||
qmake | ||
src | ||
tests | ||
tools | ||
util | ||
.gitattributes | -rw-r--r-- | 151 bytes |
.gitignore | -rw-r--r-- | 7.3 KB |
.qmake.conf | -rw-r--r-- | 207 bytes |
.tag | -rw-r--r-- | 12 bytes |
INSTALL | -rw-r--r-- | 569 bytes |
LGPL_EXCEPTION.txt | -rw-r--r-- | 1.2 KB |
LICENSE.FDL | -rw-r--r-- | 22.4 KB |
LICENSE.GPL | -rw-r--r-- | 34.3 KB |
LICENSE.LGPL | -rw-r--r-- | 26.2 KB |
LICENSE.PREVIEW.COMMERCIAL | -rw-r--r-- | 30.8 KB |
configure | -rwxr-xr-x | 230.2 KB |
configure.bat | -rw-r--r-- | 3.7 KB |
header.BSD | -rw-r--r-- | 2.0 KB |
header.FDL | -rw-r--r-- | 1.2 KB |
header.LGPL | -rw-r--r-- | 1.9 KB |
header.LGPL-ONLY | -rw-r--r-- | 958 bytes |
qtbase.pro | -rw-r--r-- | 7.4 KB |
sync.profile | -rw-r--r-- | 3.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...