See https://github.com/Tencent/rapidjson/commit/d88be8ef1649eca4602348d1aab5c16c36f83d4f --- include/rapidjson/prettywriter.h.orig 2016-08-25 00:59:05 +++ include/rapidjson/prettywriter.h 2023-06-01 20:41:42 @@ -42,7 +42,7 @@ template, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags> class PrettyWriter : public Writer { public: - typedef Writer Base; + typedef Writer Base; typedef typename Base::Ch Ch; //! Constructor