summaryrefslogtreecommitdiff
path: root/src/post.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/post.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/post.h')
-rw-r--r--src/post.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.h b/src/post.h
index c4fc3827..c2f77b32 100644
--- a/src/post.h
+++ b/src/post.h
@@ -205,7 +205,7 @@ public:
mutable optional<xdata_t> xdata_;
bool has_xdata() const {
- return xdata_ != NULL;
+ return xdata_;
}
void clear_xdata() {
xdata_ = none;