aboutsummaryrefslogtreecommitdiffstats
path: root/examples/collidingmice/mouse.cpp
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-11-24 12:14:55 +0900
committerIvan Komissarov <ABBAPOH@gmail.com>2019-11-25 12:13:25 +0000
commitc9604a04bf4e560ae51d42d0f6ca105c223c867e (patch)
treeacf79c5f9eda9d8b3e353bc5c2164f98ff4caed4 /examples/collidingmice/mouse.cpp
parentc547f078e883c578996b6ff73643e122e17489db (diff)
Replace QList<qbs::Profile> with std::vector<qbs::Profile>
First, QList is not very good with qbs::Profile since sizeof(qbs::Profile) > sizeof(void*) Second, there's a common pattern to move value when appending to a list: profiles.push_back(std::move(profile)), but it doesn't work with QList since it doesn't have push_back(T&&) overload Change-Id: Idc288390d8a89687ba5fe8be678d4fbd803c4249 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'examples/collidingmice/mouse.cpp')
0 files changed, 0 insertions, 0 deletions