diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-26 10:21:39 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-01-26 13:19:31 +0100 |
commit | 48b6e192bbb023bb19c9de81c1e3d3ac3bca238c (patch) | |
tree | b8866afc35098a3f5d254a42ce1e87f2ab508628 /tools | |
parent | 74060990bc83b8714d017da6b2238b00e6aba0e4 (diff) |
QDeferredSharedPointer: lazy-load to determine isNull()
If the content is not loaded, yet, the data is always null. If it is
loaded, the result might be null. So, in order to know, we have to load.
The same holds for deferred weak pointers, the hash functions, and the
equality operators.
Change-Id: I20eec58efe5da604187c34578ee40f769090c910
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions