summaryrefslogtreecommitdiff
path: root/src/post.h
diff options
context:
space:
mode:
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 c2f77b32..c4fc3827 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_;
+ return xdata_ != NULL;
}
void clear_xdata() {
xdata_ = none;