From d87b698d0fcc10a5f632ecbc80a9cb2a8fa094a5 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Fri, 28 Jun 2019 10:37:13 +0800 Subject: [PATCH] Change all GenericMemberIterator from struct to class --- include/rapidjson/document.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index d1b90eb0b..9783fe4ac 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -205,17 +205,17 @@ class GenericMemberIterator { // class-based member iterator implementation disabled, use plain pointers template -struct GenericMemberIterator; +class GenericMemberIterator; //! non-const GenericMemberIterator template -struct GenericMemberIterator { +class GenericMemberIterator { //! use plain pointer as iterator type typedef GenericMember* Iterator; }; //! const GenericMemberIterator template -struct GenericMemberIterator { +class GenericMemberIterator { //! use plain const pointer as iterator type typedef const GenericMember* Iterator; };