Fix some shadow warnings

--
Warnings in headers hurt downstream.
This commit is contained in:
Andre Heinecke 2017-07-10 17:26:46 +02:00
parent 5c53c70260
commit 3b9123b4c6
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -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)
{