mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 18:51:04 +08:00
Fix comments on Json Reader
There have been multiple discussions of the inaccurate comments in the Json Reader class. This patch just updates those comments.
This commit is contained in:
parent
f8db40ff83
commit
95b3092ce4
@ -870,7 +870,8 @@ bool Reader::pushError(const Value& value,
|
||||
|
||||
bool Reader::good() const { return errors_.empty(); }
|
||||
|
||||
// exact copy of Features
|
||||
// Originally copied from the Features class (now deprecated), used internally
|
||||
// for features implementation.
|
||||
class OurFeatures {
|
||||
public:
|
||||
static OurFeatures all();
|
||||
@ -885,15 +886,13 @@ public:
|
||||
size_t stackLimit_;
|
||||
}; // OurFeatures
|
||||
|
||||
// exact copy of Implementation of class Features
|
||||
// ////////////////////////////////
|
||||
|
||||
OurFeatures OurFeatures::all() { return {}; }
|
||||
|
||||
// Implementation of class Reader
|
||||
// ////////////////////////////////
|
||||
|
||||
// exact copy of Reader, renamed to OurReader
|
||||
// Originally copied from the Reader class (now deprecated), used internally
|
||||
// for implementing JSON reading.
|
||||
class OurReader {
|
||||
public:
|
||||
typedef char Char;
|
||||
|
Loading…
x
Reference in New Issue
Block a user