summaryrefslogtreecommitdiff
path: root/valexpr.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-23 19:40:01 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-23 19:40:01 -0400
commit7409b050bee226fb7bb0b89a10d9c206d8797d70 (patch)
tree75c1e96e8b8dfc1bbfe0123eb6521b4b88d391fc /valexpr.h
parent90af21852458919a08420e86542a2ab2283cd4e9 (diff)
downloadfork-ledger-7409b050bee226fb7bb0b89a10d9c206d8797d70.tar.gz
fork-ledger-7409b050bee226fb7bb0b89a10d9c206d8797d70.tar.bz2
fork-ledger-7409b050bee226fb7bb0b89a10d9c206d8797d70.zip
More fixes to restore parsing capability.
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;