mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
Revert "GH #1050 JSON: fix gcc -Wshadow warnings"
This commit is contained in:
committed by
GitHub
parent
4120620ced
commit
ff2d8b65c7
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user