summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-07 04:27:04 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-07 04:27:04 -0400
commit682544ef17cdf96cde684d5601c6145132624f22 (patch)
treea2b4dedf13d1f8ad026c9ad0d8a20335e64972fa /src/op.h
parenteb98e0da8b095634ae779b5b1f3c234d24cccde2 (diff)
downloadfork-ledger-682544ef17cdf96cde684d5601c6145132624f22.tar.gz
fork-ledger-682544ef17cdf96cde684d5601c6145132624f22.tar.bz2
fork-ledger-682544ef17cdf96cde684d5601c6145132624f22.zip
Refer to empty expression operators as simply NULL.
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op.h b/src/op.h
index 1c6b246e..b7ae9430 100644
--- a/src/op.h
+++ b/src/op.h
@@ -287,8 +287,8 @@ public:
ostream_pos_type * end_pos;
bool relaxed;
- context_t(const ptr_op_t& _expr_op = ptr_op_t(),
- const ptr_op_t& _op_to_find = ptr_op_t(),
+ context_t(const ptr_op_t& _expr_op = NULL,
+ const ptr_op_t& _op_to_find = NULL,
ostream_pos_type * const _start_pos = NULL,
ostream_pos_type * const _end_pos = NULL,
const bool _relaxed = true)