diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-01-05 00:48:33 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-01-05 00:48:33 +0000 |
commit | fd7e746850372750efd42690aac25cbf32d9b5b4 (patch) | |
tree | 4e72d0c1785bd81322fd06c8d04433481021b065 /lib/common/IOStream.h | |
parent | 1c5c91f74c636145d02f4bc91b852d669685744e (diff) |
Remove definitions of unwanted copy constructor and assignment operator,
to avoid accidentally calling them.
Diffstat (limited to 'lib/common/IOStream.h')
-rw-r--r-- | lib/common/IOStream.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/common/IOStream.h b/lib/common/IOStream.h index daf1ba50..0b1cedd3 100644 --- a/lib/common/IOStream.h +++ b/lib/common/IOStream.h @@ -22,9 +22,13 @@ class IOStream { public: IOStream(); - IOStream(const IOStream &rToCopy); virtual ~IOStream(); - + +private: + IOStream(const IOStream &rToCopy); /* forbidden */ + IOStream& operator=(const IOStream &rToCopy); /* forbidden */ + +public: enum { TimeOutInfinite = -1, |