Fixed a comment.
This commit is contained in:
parent
a54c0f5097
commit
2c362c097e
1 changed files with 9 additions and 6 deletions
15
src/stream.h
15
src/stream.h
|
|
@ -76,17 +76,20 @@ public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a new output_stream_t.
|
* Construct a new output_stream_t.
|
||||||
*
|
|
||||||
* @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
|
|
||||||
* empty.
|
|
||||||
*/
|
*/
|
||||||
output_stream_t() : pipe_to_pager_fd(-1), os(NULL) {
|
output_stream_t() : pipe_to_pager_fd(-1), os(NULL) {
|
||||||
TRACE_CTOR(output_stream_t, "");
|
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 Path to a pager. To not use a pager, leave this
|
||||||
|
* empty.
|
||||||
|
*/
|
||||||
void initialize(const optional<path>& output_file = none,
|
void initialize(const optional<path>& output_file = none,
|
||||||
const optional<path>& pager_path = none);
|
const optional<path>& pager_path = none);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue