Page MenuHomePhabricator

Prevent copies in mempool_tests
ClosedPublic

Authored by Fabien on Mar 21 2023, 10:07.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC86ef87cee1f8: Prevent copies in mempool_tests
Summary

We can hold a const reference instead as the entries are read only.

Test Plan
ninja check-bitcoin-mempool_tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Mar 21 2023, 10:07
This revision is now accepted and ready to land.Mar 21 2023, 13:36
This revision was automatically updated to reflect the committed changes.