diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-07 18:41:06 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-07 18:41:06 -0400 |
commit | f4c7f86e212b35c4221a1e46c7b720e94d244e71 (patch) | |
tree | 8893afe14d0189614eea16a4058a7a4854e79d27 /src/account.h | |
parent | 336cd5ef3517228af0f2257547e62bd44eac3de7 (diff) | |
download | fork-ledger-f4c7f86e212b35c4221a1e46c7b720e94d244e71.tar.gz fork-ledger-f4c7f86e212b35c4221a1e46c7b720e94d244e71.tar.bz2 fork-ledger-f4c7f86e212b35c4221a1e46c7b720e94d244e71.zip |
Removed unnused account_t::ident.
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/account.h b/src/account.h index 565a11af..2cf8192a 100644 --- a/src/account.h +++ b/src/account.h @@ -64,8 +64,6 @@ typedef std::map<const string, account_t *> accounts_map; class account_t : public scope_t { public: - typedef std::size_t ident_t; - account_t * parent; string name; optional<string> note; @@ -73,14 +71,13 @@ class account_t : public scope_t accounts_map accounts; mutable void * data; - mutable ident_t ident; mutable string _fullname; account_t(account_t * _parent = NULL, const string& _name = "", const optional<string>& _note = none) : scope_t(), parent(_parent), name(_name), note(_note), - depth(parent ? parent->depth + 1 : 0), data(NULL), ident(0) { + depth(parent ? parent->depth + 1 : 0), data(NULL) { TRACE_CTOR(account_t, "account_t *, const string&, const string&"); } account_t(const account_t& other) @@ -90,11 +87,9 @@ class account_t : public scope_t note(other.note), depth(other.depth), accounts(other.accounts), - data(NULL), - ident(0) { + data(NULL) { TRACE_CTOR(account_t, "copy"); assert(other.data == NULL); - assert(other.ident == 0); } ~account_t(); |