summaryrefslogtreecommitdiff
path: root/src/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/output.cc')
-rw-r--r--src/output.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/output.cc b/src/output.cc
index b559f253..f10de042 100644
--- a/src/output.cc
+++ b/src/output.cc
@@ -30,6 +30,11 @@
*/
#include "output.h"
+#include "xact.h"
+#include "post.h"
+#include "account.h"
+#include "session.h"
+#include "report.h"
namespace ledger {
@@ -58,6 +63,11 @@ format_posts::format_posts(report_t& _report,
}
}
+void format_posts::flush()
+{
+ report.output_stream.flush();
+}
+
void format_posts::operator()(post_t& post)
{
std::ostream& out(report.output_stream);