diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-31 17:48:29 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-31 17:48:29 -0400 |
commit | e5048ec71bf114c351c62844b7603893195df4d4 (patch) | |
tree | 4153105f62fc6a244811df3c2e34366344c25792 /journal.h | |
parent | 99313ebc6c3779f692f9f1bd70cc69a236f5eb78 (diff) | |
download | fork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.tar.gz fork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.tar.bz2 fork-ledger-e5048ec71bf114c351c62844b7603893195df4d4.zip |
Change many uses of for+iterator to use Boost.Foreach.
Diffstat (limited to 'journal.h')
-rw-r--r-- | journal.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -43,6 +43,10 @@ typedef std::list<path> paths_list; class session_t; class account_t; +typedef std::list<entry_t *> entries_list; +typedef std::list<auto_entry_t *> auto_entries_list; +typedef std::list<period_entry_t *> period_entries_list; + class journal_t : public noncopyable { public: @@ -56,7 +60,7 @@ public: auto_entries_list auto_entries; period_entries_list period_entries; - hooks_t<entry_finalizer_t *> entry_finalize_hooks; + hooks_t<entry_finalizer_t, entry_t> entry_finalize_hooks; journal_t(session_t * _owner); ~journal_t(); |