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/result.h | |
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/result.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/cpp/src/result.h b/lang/cpp/src/result.h index 1eae5b1d..a86d81f0 100644 --- a/lang/cpp/src/result.h +++ b/lang/cpp/src/result.h @@ -35,8 +35,8 @@ class GPGMEPP_EXPORT Result { protected: explicit Result() : mError() {} - explicit Result(int error) : mError(error) {} - explicit Result(const Error &error) : mError(error) {} + explicit Result(int err) : mError(err) {} + explicit Result(const Error &err) : mError(err) {} void swap(Result &other) { |