summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpagesize.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-28 09:59:31 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-28 22:14:37 +0100
commit979c8cf1b75e3e0e0dcf7c718c3fed6fdfdd7ea3 (patch)
treecab043e054a026d11a09278b21de8c48c9828e60 /src/gui/painting/qpagesize.h
parentbcd2f3f99e8696fb2a21c1996895cd219245c424 (diff)
Always return initialized data from QBindable::value
clang warned about result being uninitialized if iface is nullptr. Return a properly initialized result in that case as well. This might break RVO, but the alternative is to always initialize result, even if we are going to call the getter anyway, which I assume would be more expensive. Change-Id: I5d6d243b3094b79bf021725d017be5c72b1089bb Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui/painting/qpagesize.h')
0 files changed, 0 insertions, 0 deletions