Skip to content
Verified Commit ef53e5e6 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

KQuickStyleItem: Replace manual loop with C++20 std::accumulate

Default operator+ is fine, for QRegion it's the same as the pre-existing
united() method.

Unfortunately, there is no std::ranges:: counterpart to avoid the
begin-end idiom.
parent 34bece07
Pipeline #630727 passed with stage
in 4 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment