summaryrefslogtreecommitdiff
path: root/src/account.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2014-08-27 11:56:14 -0500
committerJohn Wiegley <johnw@newartisans.com>2014-08-27 11:56:14 -0500
commit948f5fea2818df2e4793557505914bbc859fc193 (patch)
treebd18e0508f4dfad13a5b557eb420c20d885a61e2 /src/account.h
parent4ed6599579ebd1b74050df5362591d3acfca9091 (diff)
downloadfork-ledger-948f5fea2818df2e4793557505914bbc859fc193.tar.gz
fork-ledger-948f5fea2818df2e4793557505914bbc859fc193.tar.bz2
fork-ledger-948f5fea2818df2e4793557505914bbc859fc193.zip
Revert "fix "no viable conversion from ... to 'bool'""
This reverts commit df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07.
Diffstat (limited to 'src/account.h')
-rw-r--r--src/account.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account.h b/src/account.h
index 4a4041b7..d1377c39 100644
--- a/src/account.h
+++ b/src/account.h
@@ -261,7 +261,7 @@ public:
mutable optional<xdata_t> xdata_;
bool has_xdata() const {
- return xdata_ != NULL;
+ return xdata_;
}
void clear_xdata();
xdata_t& xdata() {