diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:49 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:49 -0500 |
commit | 08a7f5ae0768af77c8e4be0a1094c90b6ce11092 (patch) | |
tree | 9189dc0480d72be931176428612fd091f8ae412e /src | |
parent | c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5 (diff) | |
download | fork-ledger-08a7f5ae0768af77c8e4be0a1094c90b6ce11092.tar.gz fork-ledger-08a7f5ae0768af77c8e4be0a1094c90b6ce11092.tar.bz2 fork-ledger-08a7f5ae0768af77c8e4be0a1094c90b6ce11092.zip |
Changed a const string map key to string
Diffstat (limited to 'src')
-rw-r--r-- | src/account.h | 2 | ||||
-rw-r--r-- | src/journal.h | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/account.h b/src/account.h index c0e3e1f7..2aa3f2eb 100644 --- a/src/account.h +++ b/src/account.h @@ -51,7 +51,7 @@ class xact_t; class post_t; typedef std::list<post_t *> posts_list; -typedef std::map<const string, account_t *> accounts_map; +typedef std::map<string, account_t *> accounts_map; class account_t : public supports_flags<>, public scope_t { diff --git a/src/journal.h b/src/journal.h index a7a84447..1f9cf3af 100644 --- a/src/journal.h +++ b/src/journal.h @@ -58,17 +58,17 @@ class account_t; class parse_context_t; class parse_context_stack_t; -typedef std::list<xact_t *> xacts_list; -typedef std::list<auto_xact_t *> auto_xacts_list; -typedef std::list<period_xact_t *> period_xacts_list; -typedef std::pair<mask_t, string> payee_mapping_t; -typedef std::list<payee_mapping_t> payee_mappings_t; -typedef std::pair<mask_t, account_t *> account_mapping_t; -typedef std::list<account_mapping_t> account_mappings_t; -typedef std::map<const string, account_t *> accounts_map; -typedef std::map<string, xact_t *> checksum_map_t; -typedef std::multimap<string, - expr_t::check_expr_pair> tag_check_exprs_map; +typedef std::list<xact_t *> xacts_list; +typedef std::list<auto_xact_t *> auto_xacts_list; +typedef std::list<period_xact_t *> period_xacts_list; +typedef std::pair<mask_t, string> payee_mapping_t; +typedef std::list<payee_mapping_t> payee_mappings_t; +typedef std::pair<mask_t, account_t *> account_mapping_t; +typedef std::list<account_mapping_t> account_mappings_t; +typedef std::map<string, account_t *> accounts_map; +typedef std::map<string, xact_t *> checksum_map_t; + +typedef std::multimap<string, expr_t::check_expr_pair> tag_check_exprs_map; class journal_t : public noncopyable { |