diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-24 02:08:05 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-24 02:08:33 +0200 |
commit | b0875eb3fea0934f3a6651fbc22aac12e33e15e5 (patch) | |
tree | 24d1ee392c0b29a61e0b4c09bae780d6ae35866d /src/txdb.h | |
parent | 5cd00bc8cb6820d3b41bea329fcf0c26c03db64a (diff) |
Allow BatchWrite to destroy its input, reducing copying
Diffstat (limited to 'src/txdb.h')
-rw-r--r-- | src/txdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h index 7d670c2542..099f151776 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -37,7 +37,7 @@ public: bool HaveCoins(const uint256 &txid); uint256 GetBestBlock(); bool SetBestBlock(const uint256 &hashBlock); - bool BatchWrite(const CCoinsMap &mapCoins, const uint256 &hashBlock); + bool BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlock); bool GetStats(CCoinsStats &stats); }; |