diff options
author | Andre Heinecke <[email protected]> | 2016-08-17 05:23:05 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-17 05:23:05 +0000 |
commit | 64194b0f8df1afe6135cd119fd3216fc8db68033 (patch) | |
tree | cb5a211fd950fe8c5554238d9c2d731da432ead1 /lang/cpp/src/context.cpp | |
parent | core: New global flag "require-gnupg". (diff) | |
download | gpgme-64194b0f8df1afe6135cd119fd3216fc8db68033.tar.gz gpgme-64194b0f8df1afe6135cd119fd3216fc8db68033.zip |
Cpp: Fix some pedantic warnings
* lang/cpp/src/context.cpp,
lang/cpp/src/context.h (Context::getKeysFromRecipients): Remove
ignored / invalid const qualifier.
* lang/cpp/src/result.h: Don't shadow error function in ctor.
Diffstat (limited to '')
-rw-r--r-- | lang/cpp/src/context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/src/context.cpp b/lang/cpp/src/context.cpp index 1a2741eb..11080cfa 100644 --- a/lang/cpp/src/context.cpp +++ b/lang/cpp/src/context.cpp @@ -1109,7 +1109,7 @@ static gpgme_encrypt_flags_t encryptflags2encryptflags(Context::EncryptionFlags return static_cast<gpgme_encrypt_flags_t>(result); } -gpgme_key_t *const Context::getKeysFromRecipients(const std::vector<Key> &recipients) +gpgme_key_t *Context::getKeysFromRecipients(const std::vector<Key> &recipients) { if (recipients.empty()) { return nullptr; |