aboutsummaryrefslogtreecommitdiff
path: root/lib/uri.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-26 08:19:29 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-28 15:08:31 +0200
commiteed5a6f127ec3bb1553ac629457f196d8893665a (patch)
tree215ae5fae5078494770af36998747fc806963ac2 /lib/uri.h
parent000b57306afe450c21df3aa95313567614c34516 (diff)
downloadlibquotient-eed5a6f127ec3bb1553ac629457f196d8893665a.tar.gz
libquotient-eed5a6f127ec3bb1553ac629457f196d8893665a.zip
Room::usersAtEventId(): switch from QMultiHash to QHash of QSets
While slightly more complex for updating, this allows COW to kick in in the read accessor; using QSet instead of QList also provides better consistency guarantees. For QML both are converted to an Array-like collection since Qt 5.15; Qt 5.12 turns QSet<> in a QVariantList, according to the documentation, which is quite reasonable too.
Diffstat (limited to 'lib/uri.h')
0 files changed, 0 insertions, 0 deletions