From b84f676946941df6f7e8476d77d1db0cbe7736c5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 20 Apr 2007 02:14:53 +0000 Subject: Did some optimization and memory cleanup --- textual.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'textual.h') diff --git a/textual.h b/textual.h index 60375830..e69e726b 100644 --- a/textual.h +++ b/textual.h @@ -13,20 +13,20 @@ class textual_parser_t : public parser_t virtual unsigned int parse(std::istream& in, journal_t * journal, account_t * master = NULL, - const std::string * original_file = NULL); + const string * original_file = NULL); }; #if 0 -void write_textual_journal(journal_t& journal, std::string path, +void write_textual_journal(journal_t& journal, string path, item_handler& formatter, - const std::string& write_hdr_format, + const string& write_hdr_format, std::ostream& out); #endif class include_context : public file_context { public: - include_context(const std::string& file, unsigned long line, - const std::string& desc = "") throw() + include_context(const string& file, unsigned long line, + const string& desc = "") throw() : file_context(file, line, desc) {} virtual ~include_context() throw() {} -- cgit v1.2.3