aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-07-10 15:26:46 +0000
committerAndre Heinecke <[email protected]>2017-07-10 15:26:46 +0000
commit3b9123b4c64828acd2d2048f40d7631513aeab36 (patch)
treee1e66dca6be985bac9f6cd8d7ed3004330b6050c /lang/cpp/src
parentcpp: Fix CMake config library name for GPGME (diff)
downloadgpgme-3b9123b4c64828acd2d2048f40d7631513aeab36.tar.gz
gpgme-3b9123b4c64828acd2d2048f40d7631513aeab36.zip
Fix some shadow warnings
-- Warnings in headers hurt downstream.
Diffstat (limited to 'lang/cpp/src')
-rw-r--r--lang/cpp/src/configuration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/cpp/src/configuration.h b/lang/cpp/src/configuration.h
index 6717ea3e..6993b6dd 100644
--- a/lang/cpp/src/configuration.h
+++ b/lang/cpp/src/configuration.h
@@ -95,8 +95,8 @@ class GPGMEPP_EXPORT Component
{
public:
Component() : comp() {}
- explicit Component(const shared_gpgme_conf_comp_t &comp)
- : comp(comp) {}
+ explicit Component(const shared_gpgme_conf_comp_t &gpgme_comp)
+ : comp(gpgme_comp) {}
// copy ctor is ok
@@ -146,8 +146,8 @@ class GPGMEPP_EXPORT Option
{
public:
Option() : comp(), opt(0) {}
- Option(const shared_gpgme_conf_comp_t &comp, gpgme_conf_opt_t opt)
- : comp(comp), opt(opt) {}
+ Option(const shared_gpgme_conf_comp_t &gpgme_comp, gpgme_conf_opt_t gpgme_opt)
+ : comp(gpgme_comp), opt(gpgme_opt) {}
const Option &operator=(const Option &other)
{