mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-10 03:29:59 +01:00
Fix gcc warning
This commit is contained in:
parent
56b205264c
commit
960bc0eabd
@ -159,7 +159,7 @@ private:
|
||||
template <typename SourceStream>
|
||||
class DecodedStream {
|
||||
public:
|
||||
DecodedStream(SourceStream& ss) : ss_(ss) { Decode(); }
|
||||
DecodedStream(SourceStream& ss) : ss_(ss), codepoint_() { Decode(); }
|
||||
unsigned Peek() { return codepoint_; }
|
||||
unsigned Take() { unsigned c = codepoint_; Decode(); return c; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user