From 2358f82ee51a5d6d8b69a599fbe059bfdf92a902 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Mon, 15 Feb 2016 22:32:14 +0800 Subject: [PATCH] Fix clang compilation --- include/rapidjson/encodedstream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rapidjson/encodedstream.h b/include/rapidjson/encodedstream.h index 5d4e77995..215e14515 100644 --- a/include/rapidjson/encodedstream.h +++ b/include/rapidjson/encodedstream.h @@ -81,8 +81,8 @@ class EncodedInputStream, MemoryStream> { // Not implemented void Put(Ch) {} void Flush() {} - Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } - size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } + Ch* PutBegin() { return 0; } + size_t PutEnd(Ch*) { return 0; } MemoryStream& is_; };