From 23b3d24355cf8c30593c747ad97bd4ee5a65e83c Mon Sep 17 00:00:00 2001 From: Kosta Date: Thu, 4 Sep 2014 15:24:52 +0200 Subject: [PATCH] add `Key()` to IterativeParsingReaderHandler` in `readertest.cpp` --- test/unittest/readertest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unittest/readertest.cpp b/test/unittest/readertest.cpp index 09560d8..4c3011c 100644 --- a/test/unittest/readertest.cpp +++ b/test/unittest/readertest.cpp @@ -848,6 +848,8 @@ struct IterativeParsingReaderHandler { bool StartObject() { RAPIDJSON_ASSERT(LogCount < LogCapacity); Logs[LogCount++] = LOG_STARTOBJECT; return true; } + bool Key (const Ch* str, SizeType len, bool copy) { return String(str, len, copy); } + bool EndObject(SizeType c) { RAPIDJSON_ASSERT(LogCount < LogCapacity); Logs[LogCount++] = LOG_ENDOBJECT;