summaryrefslogtreecommitdiff
path: root/src/temps.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:14:05 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:14:05 -0500
commit6b6ca6d4c70df0e4a3009ee093cf2f83ecee2675 (patch)
treed883948c90dd7d6dd096458a96c6b3e2b66b312a /src/temps.h
parent48f024a42aa02f36220cf5e06ed005c65cc3fa76 (diff)
downloadfork-ledger-6b6ca6d4c70df0e4a3009ee093cf2f83ecee2675.tar.gz
fork-ledger-6b6ca6d4c70df0e4a3009ee093cf2f83ecee2675.tar.bz2
fork-ledger-6b6ca6d4c70df0e4a3009ee093cf2f83ecee2675.zip
Improved the way account temporaries are managed
Diffstat (limited to 'src/temps.h')
-rw-r--r--src/temps.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/temps.h b/src/temps.h
index 646f4dcd..34494ba8 100644
--- a/src/temps.h
+++ b/src/temps.h
@@ -68,7 +68,7 @@ public:
post_t& last_post() {
return post_temps->back();
}
- account_t& create_account(const string& name,
+ account_t& create_account(const string& name = "",
account_t * parent = NULL);
account_t& last_account() {
return acct_temps->back();