From 11198f10f597654c6b0fcbd1299f8761b6ea2390 Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen Date: Mon, 18 Mar 2019 10:03:43 -0700 Subject: [PATCH] Fixed shadowing warning in older gcc for vector_delimited Change-Id: Ia4d56a5eb086f86eb5d1ad6ddae64e4a51bf3aa3 --- include/flatbuffers/minireflect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/flatbuffers/minireflect.h b/include/flatbuffers/minireflect.h index f3fa5a488..5fe16a4a9 100644 --- a/include/flatbuffers/minireflect.h +++ b/include/flatbuffers/minireflect.h @@ -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),