D23917: Use const_iterator

Vlad Zahorodnii noreply at phabricator.kde.org
Thu Sep 12 21:10:39 BST 2019


zzag added inline comments.

INLINE COMMENTS

> output_interface.cpp:119
> +        auto rit = std::find_if(resources.constBegin(), resources.constEnd(), [native] (const ResourceData &data) { return data.resource == native; });
>          if (rit != resources.end()) {
>              return (*it);

constEnd

REPOSITORY
  R127 KWayland

REVISION DETAIL
  https://phabricator.kde.org/D23917

To: gladhorn, #kwin
Cc: zzag, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190912/bd3fbad0/attachment.html>


More information about the Kde-frameworks-devel mailing list