aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorDan Raviv <[email protected]>2017-09-16 18:47:19 +0300
committerDan Raviv <[email protected]>2017-09-16 18:47:19 +0300
commit5b9748f979dd65b229e2882e670794c46e2e720b (patch)
treed6bd320e89db000569863bda0765a59c1a7adf30 /src/script/script.cpp
parentMerge #11196: Switch memory_cleanse implementation to BoringSSL's to ensure m... (diff)
downloaddiscoin-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