summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-05 02:23:49 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-05 02:27:39 -0500
commit3dc200983d5057a7760aeb9e864479c902d7e1d7 (patch)
tree6f754a113f97af3dd856cd7e507f91da9e9e0402 /src/account.h
parent40a430139edd12d9f580f5616571bc3ed8709d73 (diff)
downloadfork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.tar.gz
fork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.tar.bz2
fork-ledger-3dc200983d5057a7760aeb9e864479c902d7e1d7.zip
Moved xdata clearing code into each type proper
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 3452bba7..dc1d6c9a 100644
--- a/src/account.h
+++ b/src/account.h
@@ -230,9 +230,7 @@ public:
bool has_xdata() const {
return xdata_;
}
- void clear_xdata() {
- xdata_ = none;
- }
+ void clear_xdata();
xdata_t& xdata() {
if (! xdata_)
xdata_ = xdata_t();