aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Braendli <matthias.braendli@u-blox.com>2015-06-02 12:25:40 +0200
committerMatthias Braendli <matthias.braendli@u-blox.com>2015-06-02 12:25:40 +0200
commit7eaba8024b95bb346247c828748d2292c226d19f (patch)
treed3cd63294dda6001c504bf098bb0398919c5a4c0
parent405de3ecd5624a350668406f5476905e5e8a1286 (diff)
downloaddabmod-7eaba8024b95bb346247c828748d2292c226d19f.tar.gz
dabmod-7eaba8024b95bb346247c828748d2292c226d19f.tar.bz2
dabmod-7eaba8024b95bb346247c828748d2292c226d19f.zip
Apply rule of 3 in InputReader
-rw-r--r--src/InputReader.h6
1 files changed, 5 insertions, 1 deletions
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_;