Changed a const string map key to string

This commit is contained in:
John Wiegley 2012-04-28 05:23:49 -05:00
parent c8f58ea686
commit 08a7f5ae07
2 changed files with 12 additions and 12 deletions

View file

@ -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
{

View file

@ -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
{