[Rpm-maint] [rpm-software-management/rpm] Use `std::any_of` instead of a raw loop (PR #3940)
Piotr Idzik
notifications at github.com
Thu Sep 11 16:10:55 UTC 2025
Basic refactoring:
- use `std::any_of` instead of a raw loop,
- reduce the scope of `addflags`,
- make `addflags` a `const bool`.
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/3940
-- Commit Summary --
* Use `std::any_of` instead of a raw loop
-- File Changes --
M build/pack.cc (14)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/3940.patch
https://github.com/rpm-software-management/rpm/pull/3940.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3940
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3940 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250911/d57796e3/attachment.htm>
More information about the Rpm-maint
mailing list