From 891d7b87c8bd9c2387a945a22b41f9b8f94f3327 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 17 Aug 2008 03:15:57 -0400 Subject: Removed some dead code and updated the binary streaming code for op_t and value_t. --- src/op.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/op.h') diff --git a/src/op.h b/src/op.h index 1d0de121..17cb2f38 100644 --- a/src/op.h +++ b/src/op.h @@ -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"); } -- cgit v1.2.3