rapidjson icon indicating copy to clipboard operation
rapidjson copied to clipboard

Change an array to a vector

Open EstherWx opened this issue 2 years ago • 1 comments

Member 'IterativeParsingReaderHandler::Logs' is not initialized in the constructor and it's hard to initialize an array in the old version of Vsiual Studio. Change it to a vector and remove the need for LogCapacity and LogCount as separate members.

Move the const static variables out from the template struct 'IterativeParsingReaderHandler' to solve 'undefined reference for LOG_*' link errors.

EstherWx avatar Dec 05 '23 07:12 EstherWx

CLA assistant check
All committers have signed the CLA.

tencent-adm avatar Dec 05 '23 07:12 tencent-adm