Skip to content

Commit e2feac8

Browse files
committed
Use size_t for rapidjson::SizeType
1 parent e342c85 commit e2feac8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rapidjsonwrapper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ struct GenericException : public ExceptionWithStackTrace
2727
} while (0);
2828
#define RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset) \
2929
throw ParseException(parseErrorCode, #parseErrorCode, offset)
30+
#define RAPIDJSON_NO_SIZETYPEDEFINE
31+
namespace rapidjson { typedef ::std::size_t SizeType; }
3032

3133
#include "rapidjson/error/error.h"
3234
struct ParseException : public ExceptionWithStackTrace, public rapidjson::ParseResult

0 commit comments

Comments
 (0)