diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-04 02:27:49 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-04 02:27:49 -0500 |
commit | 5a615ec680190222e25047366f166f9daf89c69f (patch) | |
tree | 133ec9582c4cf0740e33c75d1cc8d528829b6ef1 /src/item.h | |
parent | 807cce12ff7d1f3f950853694c0603f20021bff0 (diff) | |
download | fork-ledger-5a615ec680190222e25047366f166f9daf89c69f.tar.gz fork-ledger-5a615ec680190222e25047366f166f9daf89c69f.tar.bz2 fork-ledger-5a615ec680190222e25047366f166f9daf89c69f.zip |
Make metadata tags case insensitive
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -108,7 +108,8 @@ public: enum state_t { UNCLEARED = 0, CLEARED, PENDING }; typedef std::pair<optional<value_t>, bool> tag_data_t; - typedef std::map<string, tag_data_t> string_map; + typedef std::map<string, tag_data_t, + function<bool(string, string)> > string_map; state_t _state; optional<date_t> _date; |