From 7eaba8024b95bb346247c828748d2292c226d19f Mon Sep 17 00:00:00 2001 From: Matthias Braendli Date: Tue, 2 Jun 2015 12:25:40 +0200 Subject: Apply rule of 3 in InputReader --- src/InputReader.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/InputReader.h') diff --git a/src/InputReader.h b/src/InputReader.h index 6156c94..c4e778b 100644 --- a/src/InputReader.h +++ b/src/InputReader.h @@ -115,6 +115,9 @@ class InputFileReader : public InputReader } private: + InputFileReader(const InputFileReader& other); + InputFileReader& operator=(const InputFileReader& other); + int IdentifyType(); // Rewind the file, and replay anew @@ -200,8 +203,9 @@ class InputZeroMQReader : public InputReader void PrintInfo(); private: - InputZeroMQReader(const InputZeroMQReader& other) {} Logger logger_; + InputZeroMQReader(const InputZeroMQReader& other); + InputZeroMQReader& operator=(const InputZeroMQReader& other); std::string uri_; InputZeroMQWorker worker_; -- cgit v1.2.3