diff options
| author | Pieter Wuille <[email protected]> | 2014-08-24 02:08:05 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-08-24 02:08:33 +0200 |
| commit | b0875eb3fea0934f3a6651fbc22aac12e33e15e5 (patch) | |
| tree | 24d1ee392c0b29a61e0b4c09bae780d6ae35866d /src/txdb.h | |
| parent | Merge pull request #4618 (diff) | |
| download | discoin-b0875eb3fea0934f3a6651fbc22aac12e33e15e5.tar.xz discoin-b0875eb3fea0934f3a6651fbc22aac12e33e15e5.zip | |
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 7d670c254..099f15177 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); }; |