summaryrefslogtreecommitdiff
path: root/src/stream.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-30 05:21:13 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-30 05:21:13 -0400
commit2c362c097ece94d727bd869bf69849261f029627 (patch)
treeafc3e80e346991d3d0896fefb1895d4c4a10433c /src/stream.h
parenta54c0f5097abaf4caff032efecc49f286d29dae4 (diff)
downloadfork-ledger-2c362c097ece94d727bd869bf69849261f029627.tar.gz
fork-ledger-2c362c097ece94d727bd869bf69849261f029627.tar.bz2
fork-ledger-2c362c097ece94d727bd869bf69849261f029627.zip
Fixed a comment.
Diffstat (limited to 'src/stream.h')
-rw-r--r--src/stream.h13
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);