Skip to content

Commit 56f215e

Browse files
authored
Merge pull request Tencent#1568 from ericrannaud/ericrannaud/memberiterator-public
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
2 parents 0ccdbf3 + ebc003e commit 56f215e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/rapidjson/document.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,14 @@ class GenericMemberIterator;
289289
//! non-const GenericMemberIterator
290290
template <typename Encoding, typename Allocator>
291291
class GenericMemberIterator<false,Encoding,Allocator> {
292+
public:
292293
//! use plain pointer as iterator type
293294
typedef GenericMember<Encoding,Allocator>* Iterator;
294295
};
295296
//! const GenericMemberIterator
296297
template <typename Encoding, typename Allocator>
297298
class GenericMemberIterator<true,Encoding,Allocator> {
299+
public:
298300
//! use plain const pointer as iterator type
299301
typedef const GenericMember<Encoding,Allocator>* Iterator;
300302
};

0 commit comments

Comments
 (0)