summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-04 03:34:37 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-04 03:34:37 -0400
commit1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4 (patch)
tree0ecd593b7ca164743bb9a4addf70ec76072288ce /src/item.h
parent28da097fc245340b316539c5533d470d82f19965 (diff)
downloadfork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.tar.gz
fork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.tar.bz2
fork-ledger-1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4.zip
Simplified the textual parser, and improved metadata support.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/item.h b/src/item.h
index 13a315d2..fbaab14b 100644
--- a/src/item.h
+++ b/src/item.h
@@ -127,13 +127,7 @@ public:
virtual void set_tag(const string& tag,
const optional<string>& value = none);
virtual void parse_tags(const char * p);
-
- virtual void append_note(const char * p) {
- if (note)
- *note += p;
- else
- note = p;
- }
+ virtual void append_note(const char * p);
virtual optional<date_t> actual_date() const {
return _date;