Revert "GH #1050 NetSSL_OpenSSL: fix gcc -Wshadow warnings"

This commit is contained in:
Günter Obiltschnig
2016-09-05 08:31:43 +02:00
committed by GitHub
parent 81870321dc
commit 81b140e0a9
11 changed files with 74 additions and 74 deletions

View File

@@ -62,9 +62,9 @@ public:
{
}
Optional(const C& rValue):
Optional(const C& value):
/// Creates a Optional with the given value.
_value(rValue),
_value(value),
_isSpecified(true)
{
}
@@ -81,10 +81,10 @@ public:
{
}
Optional& assign(const C& rValue)
Optional& assign(const C& value)
/// Assigns a value to the Optional.
{
_value = rValue;
_value = value;
_isSpecified = true;
return *this;
}
@@ -97,9 +97,9 @@ public:
return *this;
}
Optional& operator = (const C& rValue)
Optional& operator = (const C& value)
{
return assign(rValue);
return assign(value);
}
Optional& operator = (const Optional& other)