From d0a664d102bb0886dbaf844b6857749f70702ea3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 16:55:18 -0400 Subject: Fixed several unused value and param warnings --- src/stream.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/stream.h') 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"); } -- cgit v1.2.3