From 112dba559fb0a9f23f69a66f45c87d3bd5d3b74b Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 2 Aug 2022 23:34:48 +0700 Subject: [PATCH] Remove unused private member from smaller_pattern. --- src/ast/pattern/pattern_inference.cpp | 2 +- src/ast/pattern/pattern_inference.h | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/ast/pattern/pattern_inference.cpp b/src/ast/pattern/pattern_inference.cpp index 09f583df4a2..d751a138801 100644 --- a/src/ast/pattern/pattern_inference.cpp +++ b/src/ast/pattern/pattern_inference.cpp @@ -106,7 +106,7 @@ pattern_inference_cfg::pattern_inference_cfg(ast_manager & m, pattern_inference_ m_params(params), m_bfid(m.get_basic_family_id()), m_afid(m.mk_family_id("arith")), - m_le(m), + m_le(), m_nested_arith_only(true), m_block_loop_patterns(params.m_pi_block_loop_patterns), m_candidates(m), diff --git a/src/ast/pattern/pattern_inference.h b/src/ast/pattern/pattern_inference.h index 28218ee179e..bb4cf423833 100644 --- a/src/ast/pattern/pattern_inference.h +++ b/src/ast/pattern/pattern_inference.h @@ -37,7 +37,6 @@ Revision History: every instance of f(g(X)) is also an instance of f(X). */ class smaller_pattern { - ast_manager & m; ptr_vector m_bindings; typedef std::pair expr_pair; @@ -50,9 +49,7 @@ class smaller_pattern { public: - smaller_pattern(ast_manager & m): - m(m) { - } + smaller_pattern() = default; smaller_pattern & operator=(smaller_pattern const &) = delete;