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; };