From 134af9d81132a0abbcdd3fcb51cee0e02543a17a Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Mon, 2 Dec 2019 09:11:25 -0600 Subject: [PATCH] Remove shadow typedef Removes a duplicate and identical typedef that was causing a 'declaration shadows typedef' (-Wshadow) warning in clang. --- include/rapidjson/schema.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index 1ff8883..fc39d06 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -443,7 +443,6 @@ public: exclusiveMaximum_(false), defaultValueLength_(0) { - typedef typename SchemaDocumentType::ValueType ValueType; typedef typename ValueType::ConstValueIterator ConstValueIterator; typedef typename ValueType::ConstMemberIterator ConstMemberIterator;