diff options
author | Howard Chu <hyc@symas.com> | 2016-03-03 21:10:28 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2016-03-14 09:40:49 +0000 |
commit | 2abdb2c9fd834f5e12c085cf72aa24beb579dd02 (patch) | |
tree | 427fd7289837517403e91e4e941b900e1e0c123a /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #721 (diff) | |
download | monero-2abdb2c9fd834f5e12c085cf72aa24beb579dd02.tar.xz |
avoid some val copies
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index e58643efa..06d583f75 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -302,10 +302,10 @@ private: virtual void remove_output(const tx_out& tx_output); - void remove_tx_outputs(const crypto::hash& tx_hash, const transaction& tx); + void remove_tx_outputs(const MDB_val *tx_hash, const transaction& tx); - void remove_output(const uint64_t& out_index, const uint64_t amount); - void remove_amount_output_index(const uint64_t amount, const uint64_t global_output_index); + void remove_output(const MDB_val *out_index, const uint64_t amount); + void remove_amount_output_index(const uint64_t amount, const MDB_val *global_output_index); virtual void add_spent_key(const crypto::key_image& k_image); |