diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-14 22:20:42 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-14 22:20:42 +0200 |
commit | 240a50f3fb1e1c3526896b112c15cf4fc3d030ae (patch) | |
tree | 432979c8fdc03580e88ba4bd2f3d02145e0bcffc /src/blockchain_db/lmdb/db_lmdb.h | |
parent | Merge pull request #725 (diff) | |
parent | avoid some val copies (diff) | |
download | monero-240a50f3fb1e1c3526896b112c15cf4fc3d030ae.tar.xz |
Merge pull request #723
2abdb2c avoid some val copies (Howard Chu)
Diffstat (limited to 'src/blockchain_db/lmdb/db_lmdb.h')
-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 0b5797e97..718ee1058 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); |