diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-09-01 07:24:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 14:24:02 +0000 |
commit | 24c4e9d5612fd7549a8ff7acaf76ce95acaca0d9 (patch) | |
tree | 764a5622965b9bed5509c384fa8bb871d8cb2039 /src/theory/rewriter.cpp | |
parent | 7f4ceaabbfa36408bf5a0c63a9051417be9d4819 (diff) |
rewriter: Make registerTheoryRewriter non-static. (#7101)
More work towards getting rid of SmtEngine::currentSmtEngine and
closing #3468.
Diffstat (limited to 'src/theory/rewriter.cpp')
-rw-r--r-- | src/theory/rewriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/rewriter.cpp b/src/theory/rewriter.cpp index de8750d89..d02069fd8 100644 --- a/src/theory/rewriter.cpp +++ b/src/theory/rewriter.cpp @@ -148,7 +148,7 @@ Node Rewriter::rewriteEqualityExt(TNode node) void Rewriter::registerTheoryRewriter(theory::TheoryId tid, TheoryRewriter* trew) { - getInstance()->d_theoryRewriters[tid] = trew; + d_theoryRewriters[tid] = trew; } void Rewriter::registerPreRewrite( |