From fc7cda78a9b25e986f245ed0655df0aa4b71bc3b Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Tue, 16 Jan 2018 10:35:19 +0800 Subject: [PATCH] Fix -Werror=effc++ #1164 --- example/archiver/archiver.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/archiver/archiver.h b/example/archiver/archiver.h index c7e74f0c..65b31a48 100644 --- a/example/archiver/archiver.h +++ b/example/archiver/archiver.h @@ -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.