Fix -Werror=effc++

#1164
This commit is contained in:
Milo Yip 2018-01-16 10:35:19 +08:00
parent 03f5de9d7e
commit fc7cda78a9

View File

@ -89,6 +89,9 @@ public:
static const bool IsWriter = !IsReader;
private:
JsonReader(const JsonReader&);
JsonReader& operator=(const JsonReader&);
void Next();
// PIMPL
@ -131,6 +134,9 @@ public:
static const bool IsWriter = !IsReader;
private:
JsonWriter(const JsonWriter&);
JsonWriter& operator=(const JsonWriter&);
// PIMPL idiom
void* mWriter; ///< JSON writer.
void* mStream; ///< Stream buffer.