summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-12 21:33:41 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-13 01:03:48 -0400
commit5ec85538d9690634a2b1ee7c422e109700eb0627 (patch)
tree19d8b013cd30e438ca3c86fb9d7344fb56d1f960 /src/account.h
parent15bf3ed39ed24bc55abc624757a1a943ebabb085 (diff)
downloadfork-ledger-5ec85538d9690634a2b1ee7c422e109700eb0627.tar.gz
fork-ledger-5ec85538d9690634a2b1ee7c422e109700eb0627.tar.bz2
fork-ledger-5ec85538d9690634a2b1ee7c422e109700eb0627.zip
account_t::add_post resets family_details.gathered
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/account.h b/src/account.h
index d22d2bb3..26ebe261 100644
--- a/src/account.h
+++ b/src/account.h
@@ -119,9 +119,7 @@ public:
(accounts.end(), bind(&accounts_map::value_type::second, _1));
}
- void add_post(post_t * post) {
- posts.push_back(post);
- }
+ void add_post(post_t * post);
bool remove_post(post_t * post);
posts_list::iterator posts_begin() {