D24985: [wallpapers/image] Seed random number generator

Anthony Fieroni noreply at phabricator.kde.org
Sun Oct 27 16:19:14 GMT 2019


anthonyfieroni added inline comments.

INLINE COMMENTS

> slidefiltermodel.cpp:140
>          std::iota(m_randomOrder.begin(), m_randomOrder.end(), 0);
>          std::random_shuffle(m_randomOrder.begin(), m_randomOrder.end());
>      }

random_shuffle is removed in C++17, so maybe we can change to
`std::shuffle(m_randomOrder.begin(), m_randomOrder.end(), rand);`

REPOSITORY
  R120 Plasma Workspace

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

To: davidedmundson, #plasma
Cc: anthonyfieroni, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, 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/20191027/0eed7dda/attachment.html>


More information about the Plasma-devel mailing list