Home GnuPG
Diffusion GPGME 83176ad7d3e5

qt: Fix building with C++11

Description

qt: Fix building with C++11

* lang/qt/src/qgpgmerefreshsmimekeysjob.cpp
(QGpgMERefreshSMIMEKeysJob::start): Replace 'auto' in lambda with the
actual type.
* lang/qt/src/qgpgmesignkeyjob.cpp (class TrustSignatureProperties): Add
default c'tor and c'tor initializing all members.
* lang/qt/src/util.cpp (toFingerprints): Replace 'auto' in lambda with
the actual type.
* lang/qt/tests/run-exportjob.cpp (createExportJob): Replace 'auto'
return type with actual type.

This fixes compilation with strict C++11.

Details

Provenance
ikloeckerAuthored on Aug 22 2022, 2:39 PM
Parents
rM05661806848b: qt: Fix building with Qt6
Branches
Unknown
Tags
Unknown
Tasks
T6141: gpgme importresult.cpp fails to compile on macOS (needs to use C++14?)