diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
commit | d0a664d102bb0886dbaf844b6857749f70702ea3 (patch) | |
tree | 4994ad85c9c743ed13346ba94daea47a389a9bfd /src/stream.h | |
parent | 32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff) | |
download | fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2 fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip |
Fixed several unused value and param warnings
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stream.h b/src/stream.h index ddc5369a..624c3eee 100644 --- a/src/stream.h +++ b/src/stream.h @@ -63,6 +63,8 @@ namespace ledger { */ class output_stream_t { + output_stream_t& operator=(const output_stream_t&); + private: int pipe_to_pager_fd; @@ -85,7 +87,7 @@ public: * allows large classes to rely on their default copy-constructor without * worrying about pointer copying within output_stream_t. */ - output_stream_t(const output_stream_t& other) + output_stream_t(const output_stream_t&) : pipe_to_pager_fd(-1), os(&std::cout) { TRACE_CTOR(output_stream_t, "copy"); } |