File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class GenericDocument;
75
75
User can define this to use CrtAllocator or MemoryPoolAllocator.
76
76
*/
77
77
#ifndef RAPIDJSON_DEFAULT_ALLOCATOR
78
- #define RAPIDJSON_DEFAULT_ALLOCATOR MemoryPoolAllocator<CrtAllocator>
78
+ #define RAPIDJSON_DEFAULT_ALLOCATOR ::RAPIDJSON_NAMESPACE:: MemoryPoolAllocator<::RAPIDJSON_NAMESPACE:: CrtAllocator>
79
79
#endif
80
80
81
81
/* ! \def RAPIDJSON_DEFAULT_STACK_ALLOCATOR
@@ -85,7 +85,7 @@ class GenericDocument;
85
85
User can define this to use CrtAllocator or MemoryPoolAllocator.
86
86
*/
87
87
#ifndef RAPIDJSON_DEFAULT_STACK_ALLOCATOR
88
- #define RAPIDJSON_DEFAULT_STACK_ALLOCATOR CrtAllocator
88
+ #define RAPIDJSON_DEFAULT_STACK_ALLOCATOR ::RAPIDJSON_NAMESPACE:: CrtAllocator
89
89
#endif
90
90
91
91
/* ! \def RAPIDJSON_VALUE_DEFAULT_OBJECT_CAPACITY
@@ -2486,6 +2486,7 @@ class GenericDocument : public GenericValue<Encoding, Allocator> {
2486
2486
typedef typename Encoding::Ch Ch; // !< Character type derived from Encoding.
2487
2487
typedef GenericValue<Encoding, Allocator> ValueType; // !< Value type of the document.
2488
2488
typedef Allocator AllocatorType; // !< Allocator type from template parameter.
2489
+ typedef StackAllocator StackAllocatorType; // !< StackAllocator type from template parameter.
2489
2490
2490
2491
// ! Constructor
2491
2492
/* ! Creates an empty document of specified type.
You can’t perform that action at this time.
0 commit comments