mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 23:45:09 -04:00
wallet: pass std::function by const ref, not value
Because we can.
This commit is contained in:
parent
0be6e08dd0
commit
25672d3f10
2 changed files with 2 additions and 2 deletions
|
@ -2655,7 +2655,7 @@ uint64_t wallet2::get_upper_tranaction_size_limit()
|
|||
return ((full_reward_zone * 125) / 100) - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE;
|
||||
}
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
std::vector<size_t> wallet2::select_available_outputs(std::function<bool(const transfer_details &td)> f)
|
||||
std::vector<size_t> wallet2::select_available_outputs(const std::function<bool(const transfer_details &td)> &f)
|
||||
{
|
||||
std::vector<size_t> outputs;
|
||||
size_t n = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue