summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2019-06-15 17:49:21 +0200
committerMarc Mutz <marc.mutz@kdab.com>2019-06-27 20:00:21 +0200
commite36e32c21312eee42194815da82203648023a67b (patch)
tree6076697b35bf6fb9ab6f199430dc2bab785c02fa /src/tools/uic/cpp/cppwriteinitialization.cpp
parent8da3eea4fb702c2dc369c1628e91a034569aa9f0 (diff)
QBearerEngine: fix const-correctness of a loop with const-propagating QESDP
The loop iterates over a collection of QExplicitSharedDataPointer, which traditionally doesn't propagate const. In Qt 6, it will, so prepare the code for this change, by taking the loop variable by non-const reference. Since the loop is followed by container.clear(), make it a consume-loop by looping over qExchange(container, {}). Change-Id: If12ab005544183598fd76a0c486b2df1582710d5 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions