Commit 5c4b8edb authored by Martin Liska's avatar Martin Liska Committed by Heiko Becker
Browse files

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 f290218a)
parent 66293c36
Pipeline #164534 passed with stage
in 1 minute and 23 seconds
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#pragma once #pragma once
#include <algorithm> #include <algorithm>
#include <iterator>
namespace Kleo namespace Kleo
{ {
......
Supports Markdown
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