From 78467077f64950ba97472913da56ec1212ac75d2 Mon Sep 17 00:00:00 2001 From: Arie Gurfinkel Date: Fri, 28 Jul 2017 12:18:12 -0400 Subject: [PATCH] fixing a build error --- src/cmd_context/extra_cmds/dbg_cmds.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd_context/extra_cmds/dbg_cmds.cpp b/src/cmd_context/extra_cmds/dbg_cmds.cpp index 7ee1c0aeb..16815ccb6 100644 --- a/src/cmd_context/extra_cmds/dbg_cmds.cpp +++ b/src/cmd_context/extra_cmds/dbg_cmds.cpp @@ -106,7 +106,7 @@ class subst_cmd : public cmd { public: subst_cmd():cmd("dbg-subst") {} virtual char const * get_usage() const { return " (*) "; } - virtual char const * get_descr() const { return "substitute the free variables in the AST referenced by using the ASTs referenced by *"; } + virtual char const * get_descr(cmd_context & ctx) const { return "substitute the free variables in the AST referenced by using the ASTs referenced by *"; } virtual unsigned get_arity() const { return 3; } virtual void prepare(cmd_context & ctx) { m_idx = 0; m_source = 0; } virtual cmd_arg_kind next_arg_kind(cmd_context & ctx) const { @@ -285,7 +285,7 @@ protected: public: instantiate_cmd_core(char const * name):cmd(name) {} virtual char const * get_usage() const { return " (*)"; } - virtual char const * get_descr() const { return "instantiate the quantifier using the given expressions."; } + virtual char const * get_descr(cmd_context & ctx) const { return "instantiate the quantifier using the given expressions."; } virtual unsigned get_arity() const { return 2; } virtual void prepare(cmd_context & ctx) { m_q = 0; m_args.reset(); } @@ -333,7 +333,7 @@ class instantiate_nested_cmd : public instantiate_cmd_core { public: instantiate_nested_cmd():instantiate_cmd_core("dbg-instantiate-nested") {} - virtual char const * get_descr() const { return "instantiate the quantifier nested in the outermost quantifier, this command is used to test the instantiation procedure with quantifiers that contain free variables."; } + virtual char const * get_descr(cmd_context & ctx) const { return "instantiate the quantifier nested in the outermost quantifier, this command is used to test the instantiation procedure with quantifiers that contain free variables."; } virtual void set_next_arg(cmd_context & ctx, expr * s) { instantiate_cmd_core::set_next_arg(ctx, s);