Add missing return statement, fix #448
This commit is contained in:
parent
1a4cce275d
commit
edd077f4bf
@ -77,8 +77,8 @@ public:
|
|||||||
void Flush() { os_.Flush(); }
|
void Flush() { os_.Flush(); }
|
||||||
|
|
||||||
// Not implemented
|
// Not implemented
|
||||||
Ch Peek() const { RAPIDJSON_ASSERT(false); }
|
Ch Peek() const { RAPIDJSON_ASSERT(false); return 0;}
|
||||||
Ch Take() { RAPIDJSON_ASSERT(false); }
|
Ch Take() { RAPIDJSON_ASSERT(false); return 0;}
|
||||||
size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; }
|
size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
|
Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
|
size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
@ -227,8 +227,8 @@ public:
|
|||||||
void Flush() { os_->Flush(); }
|
void Flush() { os_->Flush(); }
|
||||||
|
|
||||||
// Not implemented
|
// Not implemented
|
||||||
Ch Peek() const { RAPIDJSON_ASSERT(false); }
|
Ch Peek() const { RAPIDJSON_ASSERT(false); return 0;}
|
||||||
Ch Take() { RAPIDJSON_ASSERT(false); }
|
Ch Take() { RAPIDJSON_ASSERT(false); return 0;}
|
||||||
size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; }
|
size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
|
Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
|
size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user