Home GnuPG

Include <iterator>.

Description

Include <iterator>.

In order to fix:
[ 16s] /home/abuild/rpmbuild/BUILD/libkleo-21.12.3/src/kleo/keyserverconfig.cpp:73:44: required from here
[ 16s] /home/abuild/rpmbuild/BUILD/libkleo-21.12.3/src/utils/algorithm.h:35:30: error: no matching function for call to 'begin(QStringList&)'
[ 16s] 35 | std::transform(std::begin(c), std::end(c), std::begin(c), op);
[ 16s] | ~~~~~~~~~~^~~

The change is documented here:
https://gcc.gnu.org/gcc-12/porting_to.html#header-dep-changes

(cherry picked from commit f290218a6fd4e2b849875f6d465eaa861ec02aff)

Details

Provenance
Martin Liska <mliska@suse.cz>Authored on Mar 25 2022, 2:40 PM
heireckaCommitted on Apr 15 2022, 10:06 PM
Parents
rLIBKLEO66293c367d21: GIT_SILENT: prepare 5.20.0
Branches
Unknown
Tags
Unknown

Event Timeline

Heiko Becker <heiko.becker@kde.org> committed rLIBKLEO5c4b8edb6d0b: Include <iterator>. (authored by Martin Liska <mliska@suse.cz>).Apr 15 2022, 10:06 PM