diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-17 03:15:57 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-17 03:15:57 -0400 |
commit | 891d7b87c8bd9c2387a945a22b41f9b8f94f3327 (patch) | |
tree | 8d4ca5757a923d80bf82f625a16746aac68a0043 /src/op.h | |
parent | 650527bef8bdac0edf08b383f6d721ca19aee5b1 (diff) | |
download | fork-ledger-891d7b87c8bd9c2387a945a22b41f9b8f94f3327.tar.gz fork-ledger-891d7b87c8bd9c2387a945a22b41f9b8f94f3327.tar.bz2 fork-ledger-891d7b87c8bd9c2387a945a22b41f9b8f94f3327.zip |
Removed some dead code and updated the binary streaming code for op_t and
value_t.
Diffstat (limited to 'src/op.h')
-rw-r--r-- | src/op.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -42,8 +42,6 @@ class expr_t::op_t : public noncopyable friend class expr_t; friend class expr_t::parser_t; - op_t(); - public: typedef expr_t::ptr_op_t ptr_op_t; @@ -106,11 +104,16 @@ public: OPERATORS, + UNKNOWN, + LAST }; kind_t kind; + explicit op_t() : refc(0), kind(UNKNOWN) { + TRACE_CTOR(op_t, ""); + } explicit op_t(const kind_t _kind) : refc(0), kind(_kind) { TRACE_CTOR(op_t, "const kind_t"); } |