1. 15 Apr, 2022 1 commit
    • Martin Liska's avatar
      Include <iterator>. · 5c4b8edb
      Martin Liska authored and Heiko Becker's avatar Heiko Becker committed
      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)
      5c4b8edb
  2. 29 Nov, 2021 1 commit
  3. 24 Nov, 2021 1 commit
  4. 22 Nov, 2021 1 commit
  5. 11 Nov, 2021 1 commit
  6. 16 Jun, 2021 1 commit
  7. 31 Mar, 2021 1 commit
  8. 26 Mar, 2021 1 commit
    • Ingo Klöcker's avatar
      Replace all usages of the deprecated qBinaryFind · 37cf8836
      Ingo Klöcker authored
      Where possible qBinaryFind is replaced with std::binary_search. All
      other occurrences are replaced with a custom replacement.
      
      I think using this replacement is much more convenient and results
      in better readable and less errorprone code than replacing all usages of
      qBinaryFind with std::lower_bound() and the necessary additional check
      of the resulting iterator, in particular if a lambda expression is used
      as custom comparison function.
      37cf8836