Skip to content

Commit d19059f

Browse files
committed
Fix typedef for non-yggdrasil built
1 parent 7b7b07c commit d19059f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rapidjson/document.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,9 +1067,9 @@ class GenericValue {
10671067
typedef GenericArray<true, ValueType> ConstArray;
10681068
typedef GenericObject<false, ValueType> Object;
10691069
typedef GenericObject<true, ValueType> ConstObject;
1070-
typedef units::GenericUnits<Encoding> UnitsType;
10711070

10721071
#ifdef RAPIDJSON_YGGDRASIL
1072+
typedef units::GenericUnits<Encoding> UnitsType;
10731073
typedef GenericDocument<Encoding, Allocator, Allocator> SchemaValueType;
10741074
// typedef GenericDocument<Encoding, Allocator, RAPIDJSON_DEFAULT_STACK_ALLOCATOR> SchemaValueType;
10751075
#define YGG_SCHEMA_INIT , schema_(0) // NULL)

0 commit comments

Comments
 (0)