From e92bcf411d2e9a55969303ba3893a017152d7c18 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 1 May 2007 04:36:49 +0000 Subject: Started using boost::optional. --- src/report.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/report.h') diff --git a/src/report.h b/src/report.h index 11a0b759..ca066566 100644 --- a/src/report.h +++ b/src/report.h @@ -11,16 +11,16 @@ typedef std::list strings_list; class report_t : public xml::xpath_t::scope_t { public: - string output_file; - string format_string; - string amount_expr; - string total_expr; - string date_output_format; + optional output_file; + string format_string; + string amount_expr; + string total_expr; + string date_output_format; unsigned long budget_flags; string account; - string pager; + optional pager; bool show_totals; bool raw_mode; @@ -28,7 +28,7 @@ class report_t : public xml::xpath_t::scope_t session_t * session; transform_t * last_transform; - std::list transforms; + ptr_list transforms; report_t(session_t * _session) : xml::xpath_t::scope_t(_session), -- cgit v1.2.3