aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/context.h
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-08-17 05:23:05 +0000
committerAndre Heinecke <[email protected]>2016-08-17 05:23:05 +0000
commit64194b0f8df1afe6135cd119fd3216fc8db68033 (patch)
treecb5a211fd950fe8c5554238d9c2d731da432ead1 /lang/cpp/src/context.h
parentcore: New global flag "require-gnupg". (diff)
downloadgpgme-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 'lang/cpp/src/context.h')
-rw-r--r--lang/cpp/src/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h
index 7d7f53a6..29eba91b 100644
--- a/lang/cpp/src/context.h
+++ b/lang/cpp/src/context.h
@@ -371,7 +371,7 @@ public:
private:
// Helper functions that need to be context because they rely
// on the "Friendlyness" of context to access the gpgme types.
- gpgme_key_t *const getKeysFromRecipients(const std::vector<Key> &recipients);
+ gpgme_key_t *getKeysFromRecipients(const std::vector<Key> &recipients);
private:
Private *const d;