aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/qgpgmedecryptjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/qt/src/qgpgmedecryptjob.cpp')
-rw-r--r--lang/qt/src/qgpgmedecryptjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/qt/src/qgpgmedecryptjob.cpp b/lang/qt/src/qgpgmedecryptjob.cpp
index 4c2319c0..8233f8d9 100644
--- a/lang/qt/src/qgpgmedecryptjob.cpp
+++ b/lang/qt/src/qgpgmedecryptjob.cpp
@@ -100,13 +100,13 @@ static QGpgMEDecryptJob::result_type decrypt_qba(Context *ctx, const QByteArray
Error QGpgMEDecryptJob::start(const QByteArray &cipherText)
{
- run(bind(&decrypt_qba, _1, cipherText));
+ run(std::bind(&decrypt_qba, std::placeholders::_1, cipherText));
return Error();
}
void QGpgMEDecryptJob::start(const std::shared_ptr<QIODevice> &cipherText, const std::shared_ptr<QIODevice> &plainText)
{
- run(bind(&decrypt, _1, _2, _3, _4), cipherText, plainText);
+ run(std::bind(&decrypt, std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4), cipherText, plainText);
}
GpgME::DecryptionResult QGpgME::QGpgMEDecryptJob::exec(const QByteArray &cipherText,