D28696: Use std::any_of

David Redondo noreply at phabricator.kde.org
Thu Apr 9 09:43:36 BST 2020


davidre added inline comments.

INLINE COMMENTS

> notification.cpp:578
> +    const auto ac = NetworkManager::activeConnections();
> +    if (std::any_of(ac.constBegin(), ac.constEnd(), [](const auto connection) {
> +       return connection->state() == NetworkManager::ActiveConnection::State::Activated

const auto&?

REPOSITORY
  R116 Plasma Network Management Applet

BRANCH
  anyof

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

To: nicolasfella, #plasma, jgrulich
Cc: davidre, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200409/47ac9bc3/attachment-0001.html>


More information about the Plasma-devel mailing list