D23010: Use range loop if possible
Filip Gawin
noreply at phabricator.kde.org
Wed Aug 7 22:11:47 BST 2019
gawin added a comment.
qAsConst has problems if we want to take addr to object:
for (auto& pluginInfo : qAsConst(m_pluginList)) {
m_name2Plugin[pluginInfo.saveName()] = &pluginInfo;
}
pluginInfo will be const ptr.
REPOSITORY
R40 Kate
REVISION DETAIL
https://phabricator.kde.org/D23010
To: gawin, #kate, cullmann
Cc: cullmann, kwrite-devel, #kate, univerz, domson, michaelh, ngraham, demsking, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190807/89b02fc8/attachment.html>
More information about the KWrite-Devel
mailing list