Fixed shadowing warning in older gcc for vector_delimited

Change-Id: Ia4d56a5eb086f86eb5d1ad6ddae64e4a51bf3aa3
This commit is contained in:
Wouter van Oortmerssen 2019-03-18 10:03:43 -07:00
parent 3b23ff18ea
commit 11198f10f5
1 changed files with 2 additions and 2 deletions

View File

@ -289,12 +289,12 @@ struct ToStringVisitor : public IterationVisitor {
size_t indent_level;
bool vector_delimited;
ToStringVisitor(std::string delimiter, bool quotes, std::string indent,
bool vector_delimited = true)
bool vdelimited = true)
: d(delimiter),
q(quotes),
in(indent),
indent_level(0),
vector_delimited(vector_delimited) {}
vector_delimited(vdelimited) {}
ToStringVisitor(std::string delimiter)
: d(delimiter),
q(false),