summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/item.h b/src/item.h
index 1d9a63c7..7855d6b7 100644
--- a/src/item.h
+++ b/src/item.h
@@ -129,8 +129,10 @@ public:
virtual void set_tag(const string& tag,
const optional<string>& value = none);
- virtual void parse_tags(const char * p, int current_year = -1);
- virtual void append_note(const char * p, int current_year = -1);
+ virtual void parse_tags(const char * p,
+ optional<date_t::year_type> current_year = none);
+ virtual void append_note(const char * p,
+ optional<date_t::year_type> current_year = none);
static bool use_effective_date;