diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-20 02:14:53 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:28 -0400 |
commit | b84f676946941df6f7e8476d77d1db0cbe7736c5 (patch) | |
tree | 9ee7c7a2d3b7496b38ad127519210adfeced2241 /textual.h | |
parent | 539370ff1b37772e9f11439f652ffd3583beeedb (diff) | |
download | fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.gz fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.tar.bz2 fork-ledger-b84f676946941df6f7e8476d77d1db0cbe7736c5.zip |
Did some optimization and memory cleanup
Diffstat (limited to 'textual.h')
-rw-r--r-- | textual.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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<transaction_t>& 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() {} |