Don't use raw loops, instead, use appropriate algorithm from STL to map
a list of toplevels to a list of EffectWindow.
Details
Details
- Reviewers
graesslin - Group Reviewers
KWin - Commits
- R108:e0bbf5c87f62: Use std::transform in libkwineffects implementation part
Tested Cover switch, Flip switch, Dialog parent, and Dim inactive effect.
They all still work.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Branch
- libkwineffects-impl-std-transform
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 522 Build 533: arc lint + arc unit
Comment Actions
Nice. To our defense: c++ wasn't that nice when that code was written.
effects.cpp | ||
---|---|---|
1086 | I would just use (auto client) - we can use c++14 in KWin. |