Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2020-12-23 04:41:20 +0300
committerGitHub <noreply@github.com>2020-12-23 04:41:20 +0300
commit56f215e5c367f71a90af53984148e556ffe83541 (patch)
tree84d151060a12ef98ca42c4a024bf8210eec87c33
parent0ccdbf364c577803e2a751f5aededce935314313 (diff)
parentebc003e205c2ab73645555d9dfe5892e10e1d367 (diff)
Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
-rw-r--r--include/rapidjson/document.h2
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;
};