summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
Diffstat (limited to 'valexpr.h')
-rw-r--r--valexpr.h2
1 files changed, 1 insertions, 1 deletions
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;