diff options
author | Dan Raviv <dan@soundradix.com> | 2017-09-16 18:47:19 +0300 |
---|---|---|
committer | Dan Raviv <dan@soundradix.com> | 2017-09-16 18:47:19 +0300 |
commit | 5b9748f979dd65b229e2882e670794c46e2e720b (patch) | |
tree | d6bd320e89db000569863bda0765a59c1a7adf30 /src/script/interpreter.cpp | |
parent | e278f86c536921032e8288625dc5f3af610f2ec8 (diff) |
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/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions