diff options
author | Milo Yip <miloyip@gmail.com> | 2020-12-23 04:41:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 04:41:20 +0300 |
commit | 56f215e5c367f71a90af53984148e556ffe83541 (patch) | |
tree | 84d151060a12ef98ca42c4a024bf8210eec87c33 | |
parent | 0ccdbf364c577803e2a751f5aededce935314313 (diff) | |
parent | ebc003e205c2ab73645555d9dfe5892e10e1d367 (diff) |
Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
-rw-r--r-- | include/rapidjson/document.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rapidjson/document.h b/include/rapidjson/document.h index 6ed85160..d514cc2e 100644 --- a/include/rapidjson/document.h +++ b/include/rapidjson/document.h @@ -289,12 +289,14 @@ class GenericMemberIterator; //! non-const GenericMemberIterator template <typename Encoding, typename Allocator> class GenericMemberIterator<false,Encoding,Allocator> { +public: //! use plain pointer as iterator type typedef GenericMember<Encoding,Allocator>* Iterator; }; //! const GenericMemberIterator template <typename Encoding, typename Allocator> class GenericMemberIterator<true,Encoding,Allocator> { +public: //! use plain const pointer as iterator type typedef const GenericMember<Encoding,Allocator>* Iterator; }; |