From c8da4d86fc691429dd42bfbf2db27e67d06c4d3f Mon Sep 17 00:00:00 2001 From: Kosta Date: Thu, 4 Sep 2014 15:35:01 +0200 Subject: [PATCH] add `Key()->String()` forwarding to the `capitalize` example --- example/capitalize/capitalize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/example/capitalize/capitalize.cpp b/example/capitalize/capitalize.cpp index b8d60860..dd94d243 100644 --- a/example/capitalize/capitalize.cpp +++ b/example/capitalize/capitalize.cpp @@ -31,6 +31,7 @@ struct CapitalizeFilter { return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the string } bool StartObject() { return out_.StartObject(); } + bool Key(const char* str, SizeType length, bool copy) { return String(str, length, copy); } bool EndObject(SizeType memberCount) { return out_.EndObject(memberCount); } bool StartArray() { return out_.StartArray(); } bool EndArray(SizeType elementCount) { return out_.EndArray(elementCount); }