mirror of
https://github.com/Z3Prover/z3
synced 2026-02-25 09:41:19 +00:00
Use const refs to reduce copying.
These are things that have been found by `clang-tidy`.
This commit is contained in:
parent
5a16d3ef7f
commit
177414c0ee
28 changed files with 62 additions and 62 deletions
|
|
@ -454,7 +454,7 @@ namespace datalog {
|
|||
: m_manager(ctx.get_manager()),
|
||||
m_subst(ctx.get_var_subst()),
|
||||
m_col_idx(col_idx),
|
||||
m_new_rule(new_rule) {}
|
||||
m_new_rule(std::move(new_rule)) {}
|
||||
|
||||
virtual void operator()(relation_base & r0) {
|
||||
explanation_relation & r = static_cast<explanation_relation &>(r0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue