summaryrefslogtreecommitdiff
path: root/src/op.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/op.h')
-rw-r--r--src/op.h7
1 files changed, 5 insertions, 2 deletions
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");
}