wallet: pass std::function by const ref, not value

Because we can.
This commit is contained in:
moneromooo-monero
2016-03-26 23:32:45 +00:00
parent 0be6e08dd0
commit 25672d3f10
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ namespace tools
uint64_t get_upper_tranaction_size_limit();
void check_pending_txes();
std::vector<uint64_t> get_unspent_amounts_vector();
std::vector<size_t> select_available_outputs(std::function<bool(const transfer_details &td)> f);
std::vector<size_t> select_available_outputs(const std::function<bool(const transfer_details &td)> &f);
std::vector<size_t> select_available_unmixable_outputs(bool trusted_daemon);
cryptonote::account_base m_account;