diff options
| author | Dan Raviv <[email protected]> | 2017-09-16 18:47:19 +0300 |
|---|---|---|
| committer | Dan Raviv <[email protected]> | 2017-09-16 18:47:19 +0300 |
| commit | 5b9748f979dd65b229e2882e670794c46e2e720b (patch) | |
| tree | d6bd320e89db000569863bda0765a59c1a7adf30 /src/script/script.cpp | |
| parent | Merge #11196: Switch memory_cleanse implementation to BoringSSL's to ensure m... (diff) | |
| download | discoin-5b9748f979dd65b229e2882e670794c46e2e720b.tar.xz discoin-5b9748f979dd65b229e2882e670794c46e2e720b.zip | |
Small refactor of CCoinsViewCache::BatchWrite()
std::unordered_map::erase( const_iterator pos ) returns an iterator to the element following the removed one. Use that to optimize (probably minor-performance-wise, and definitely code-structure-wise) the implementation of CCoinsViewCache::BatchWrite().
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions