D23085: Make iterating over Layer enum simple
Vlad Zagorodniy
noreply at phabricator.kde.org
Sun Aug 11 14:56:05 BST 2019
zzag added a comment.
> to iterate over the enum, is mostly confusing
I actually find it a bit cool because we're iterating through layers, but yeah this part can be simpler. :-)
INLINE COMMENTS
> layers.cpp:536
> + ++lay) {
> + stacking += layer[ static_cast<Layer>(lay) ];
> + }
You don't need this static_cast.
REPOSITORY
R108 KWin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23085
To: gladhorn, #kwin, romangg
Cc: zzag, kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190811/d21b5e78/attachment.html>
More information about the kwin
mailing list