diff options
Diffstat (limited to 'src/stream.h')
-rw-r--r-- | src/stream.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/stream.h b/src/stream.h index 3c8364b0..0f5aecb0 100644 --- a/src/stream.h +++ b/src/stream.h @@ -76,17 +76,20 @@ public: /** * Construct a new output_stream_t. + */ + output_stream_t() : pipe_to_pager_fd(-1), os(NULL) { + TRACE_CTOR(output_stream_t, ""); + } + + /** + * Initialize the output stream object. * * @param output_file File to which to send output. If both this * and pager are set, output_file takes priority. * - * @param pager Path to a pager. To not use a pager, leave this + * @param pager_path Path to a pager. To not use a pager, leave this * empty. */ - output_stream_t() : pipe_to_pager_fd(-1), os(NULL) { - TRACE_CTOR(output_stream_t, ""); - } - void initialize(const optional<path>& output_file = none, const optional<path>& pager_path = none); |