summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-02-12 12:26:31 -0500
committerJosh Ferrell <josh@vector35.com>2026-02-12 12:26:31 -0500
commite2feac85c58785640a2760f137a44c08ef953931 (patch)
tree1a0a31da8f0b5109c3500d4884757bd342fec479
parente342c853482c1763159c129d418dc2d178423fbd (diff)
Use size_t for rapidjson::SizeType
-rw-r--r--rapidjsonwrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h
index 1739f5c9..0947c28c 100644
--- a/rapidjsonwrapper.h
+++ b/rapidjsonwrapper.h
@@ -27,6 +27,8 @@ struct GenericException : public ExceptionWithStackTrace
} while (0);
#define RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset) \
throw ParseException(parseErrorCode, #parseErrorCode, offset)
+#define RAPIDJSON_NO_SIZETYPEDEFINE
+namespace rapidjson { typedef ::std::size_t SizeType; }
#include "rapidjson/error/error.h"
struct ParseException : public ExceptionWithStackTrace, public rapidjson::ParseResult