diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-12 18:23:22 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-12 18:23:22 -0500 |
commit | e35394a70defbffc7464713aaa700693e97ef358 (patch) | |
tree | f27f38d2eabe7b9d71da5294b5d1b54416e19bad /src/item.h | |
parent | ef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff) | |
download | fork-ledger-e35394a70defbffc7464713aaa700693e97ef358.tar.gz fork-ledger-e35394a70defbffc7464713aaa700693e97ef358.tar.bz2 fork-ledger-e35394a70defbffc7464713aaa700693e97ef358.zip |
--data shouldn't modify the underlying item
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -172,12 +172,6 @@ public: virtual optional<date_t> effective_date() const { return _date_eff; } - virtual void set_date(const date_t& date) { - if (use_effective_date) - _date_eff = date; - else - _date = date; - } void set_state(state_t new_state) { _state = new_state; |