mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
remove memory alloc from statistics_report
This commit is contained in:
parent
eb8c53c164
commit
a2f5a5b50b
2 changed files with 2 additions and 3 deletions
|
@ -120,7 +120,7 @@ class statistics_report {
|
|||
std::function<void(statistics& st)> m_collector;
|
||||
public:
|
||||
statistics_report(tactic& t):m_tactic(&t) {}
|
||||
statistics_report(std::function<void(statistics&)>& coll): m_collector(coll) {}
|
||||
statistics_report(std::function<void(statistics&)>&& coll): m_collector(std::move(coll)) {}
|
||||
~statistics_report();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue