summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h4
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");
}