From 7409b050bee226fb7bb0b89a10d9c206d8797d70 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 23 Jul 2008 19:40:01 -0400 Subject: More fixes to restore parsing capability. --- valexpr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'valexpr.h') diff --git a/valexpr.h b/valexpr.h index 45f44b2e..c5796b88 100644 --- a/valexpr.h +++ b/valexpr.h @@ -794,7 +794,7 @@ public: } operator bool() const throw() { - return ptr != NULL; + return ptr.get() != NULL; } operator string() const throw() { return expr_str; -- cgit v1.2.3