aboutsummaryrefslogtreecommitdiff
path: root/gdb/expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/expression.h')
-rw-r--r--gdb/expression.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/expression.h b/gdb/expression.h
index eae986a..5c5371e 100644
--- a/gdb/expression.h
+++ b/gdb/expression.h
@@ -196,8 +196,12 @@ make_operation (Arg... args)
struct expression
{
- expression (const struct language_defn *, struct gdbarch *);
- ~expression ();
+ expression (const struct language_defn *lang, struct gdbarch *arch)
+ : language_defn (lang),
+ gdbarch (arch)
+ {
+ }
+
DISABLE_COPY_AND_ASSIGN (expression);
/* Return the opcode for the outermost sub-expression of this