diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-23 19:07:30 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-23 19:07:30 -0400 |
commit | 944c63e6f26d1f05ba6f63c60f510d3796872f3e (patch) | |
tree | e1fc54319c2c42c16a64e95930acaca063658863 /src/item.h | |
parent | 057506ab6dddbfb75d1bb29289602f375ca57df5 (diff) | |
download | fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.gz fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.tar.bz2 fork-ledger-944c63e6f26d1f05ba6f63c60f510d3796872f3e.zip |
The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap. This contains the real changeset.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -59,9 +59,9 @@ namespace ledger { class item_t : public supports_flags<>, public scope_t { public: -#define ITEM_NORMAL 0x00 // no flags at all, a basic transaction -#define ITEM_GENERATED 0x01 // transaction was not found in a journal -#define ITEM_TEMP 0x02 // transaction is a temporary object +#define ITEM_NORMAL 0x00 // no flags at all, a basic posting +#define ITEM_GENERATED 0x01 // posting was not found in a journal +#define ITEM_TEMP 0x02 // posting is a temporary object enum state_t { UNCLEARED = 0, CLEARED, PENDING }; @@ -112,11 +112,11 @@ public: end_line = item.end_line; } - virtual bool operator==(const item_t& entry) { - return this == &entry; + virtual bool operator==(const item_t& xact) { + return this == &xact; } - virtual bool operator!=(const item_t& entry) { - return ! (*this == entry); + virtual bool operator!=(const item_t& xact) { + return ! (*this == xact); } virtual bool has_tag(const string& tag) const; |