From 1f352c6af853e5cb0dc06ea6596be77db953a9fd Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 8 Mar 2016 11:39:25 +0100 Subject: update rapidjson library (nw) --- 3rdparty/rapidjson/example/simplereader/simplereader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to '3rdparty/rapidjson/example/simplereader/simplereader.cpp') diff --git a/3rdparty/rapidjson/example/simplereader/simplereader.cpp b/3rdparty/rapidjson/example/simplereader/simplereader.cpp index edbdb6352c5..5aae8a1c0ac 100644 --- a/3rdparty/rapidjson/example/simplereader/simplereader.cpp +++ b/3rdparty/rapidjson/example/simplereader/simplereader.cpp @@ -12,6 +12,10 @@ struct MyHandler { bool Int64(int64_t i) { cout << "Int64(" << i << ")" << endl; return true; } bool Uint64(uint64_t u) { cout << "Uint64(" << u << ")" << endl; return true; } bool Double(double d) { cout << "Double(" << d << ")" << endl; return true; } + bool RawNumber(const char* str, SizeType length, bool copy) { + cout << "Number(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; + return true; + } bool String(const char* str, SizeType length, bool copy) { cout << "String(" << str << ", " << length << ", " << boolalpha << copy << ")" << endl; return true; -- cgit v1.2.3-70-g09d2