From d7b8095c3db345329cf89b8c00d51817ae4ce4c9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 17 Mar 2010 02:18:46 -0400 Subject: Tags were not being set properly on postings --- src/item.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index f82e8da6..7045c875 100644 --- a/src/item.h +++ b/src/item.h @@ -157,12 +157,14 @@ public: virtual optional get_tag(const mask_t& tag_mask, const optional& value_mask = none) const; - virtual string_map::iterator set_tag(const string& tag, - const optional& value = none); + virtual string_map::iterator + set_tag(const string& tag, + const optional& value = none, + const bool overwrite_existing = true); - virtual void parse_tags(const char * p, + virtual void parse_tags(const char * p, bool overwrite_existing = true, optional current_year = none); - virtual void append_note(const char * p, + virtual void append_note(const char * p, bool overwrite_existing = true, optional current_year = none); static bool use_effective_date; -- cgit v1.2.3