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

This commit is contained in:
Günter Obiltschnig
2016-09-05 08:37:47 +02:00
committed by GitHub
parent 4120620ced
commit ff2d8b65c7
8 changed files with 39 additions and 39 deletions

View File

@@ -23,18 +23,18 @@ namespace Poco {
namespace JSON {
PrintHandler::PrintHandler(unsigned newIndent):
PrintHandler::PrintHandler(unsigned indent):
_out(std::cout),
_indent(newIndent),
_indent(indent),
_array(0),
_objStart(true)
{
}
PrintHandler::PrintHandler(std::ostream& out, unsigned newIndent):
PrintHandler::PrintHandler(std::ostream& out, unsigned indent):
_out(out),
_indent(newIndent),
_indent(indent),
_array(0),
_objStart(true)
{
@@ -172,10 +172,10 @@ void PrintHandler::value(UInt64 v)
#endif
void PrintHandler::value(const std::string& rValue)
void PrintHandler::value(const std::string& value)
{
arrayValue();
Stringifier::formatString(rValue, _out);
Stringifier::formatString(value, _out);
_objStart = false;
}