From df9ae3ab9b37fde803f26c6bc4eaadfd67fc1d07 Mon Sep 17 00:00:00 2001 From: Joe Gallo Date: Tue, 26 Aug 2014 09:07:57 -0400 Subject: fix "no viable conversion from ... to 'bool'" --- src/post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/post.h') 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_; bool has_xdata() const { - return xdata_; + return xdata_ != NULL; } void clear_xdata() { xdata_ = none; -- cgit v1.2.3