Skip to content

Commit

Permalink
chore: delete interpreter copy constructor just to be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Apr 30, 2024
1 parent 18a6991 commit 6e731b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/library/compiler/ir_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,8 @@ class interpreter {
m_prefer_native = opts.get_bool(*g_interpreter_prefer_native, LEAN_DEFAULT_INTERPRETER_PREFER_NATIVE);
}

interpreter(interpreter const &) = delete;

~interpreter() {
for_each(m_constant_cache, [](name const &, constant_cache_entry const & e) {
if (!e.m_is_scalar) {
Expand Down

0 comments on commit 6e731b4

Please sign in to comment.