diff options
author | Igor Gnatenko <[email protected]> | 2017-02-11 07:36:24 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-02-13 09:37:18 +0000 |
commit | 60064c665ec98a2a994fc6c8ad701e60b963ce7e (patch) | |
tree | 083a6bad7a49ab0e8a478b53c1455f79354276f3 /lang/python | |
parent | qt: Don't rely on implicit include in t-verify (diff) | |
download | gpgme-60064c665ec98a2a994fc6c8ad701e60b963ce7e.tar.gz gpgme-60064c665ec98a2a994fc6c8ad701e60b963ce7e.zip |
qt: Add missing #include <functional>
* lang/qt/src/qgpgmenewcryptoconfig.cpp,
lang/qt/src/threadedjobmixin.h: Include functional.
--
With GCC 7.0, functional is not included transitively and we get:
In file included from qgpgmedeletejob.h:39:0,
from qgpgmedeletejob.cpp:38:
threadedjobmixin.h:98:33: error: 'function' in namespace 'std'
does not name a template type
void setFunction(const std::function<T_result()> &function)
^~~~~~~~
std::{function,bind,placeholders,mem_fn} are defined in functional.
References: https://bugzilla.redhat.com/show_bug.cgi?id=1417383
Signed-off-by: Igor Gnatenko <[email protected]>
GnuPG-Bug-Id: 2955
Commit Message amended by Andre Heinecke
Signed-off-by: Andre Heinecke <[email protected]>
Diffstat (limited to 'lang/python')
0 files changed, 0 insertions, 0 deletions