aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorKaz Wesley <[email protected]>2016-04-13 10:09:16 -0700
committerKaz Wesley <[email protected]>2016-04-16 08:05:11 -0700
commit1e2c29f2632c378843c5a3c9ad401a7bcacc4de0 (patch)
tree7593134b5e9742d04fd7d2b6f8b3dd16cd563754 /src/script/script.cpp
parentMerge #7603: Build System: Use PACKAGE_TARNAME in NSIS script (diff)
downloaddiscoin-1e2c29f2632c378843c5a3c9ad401a7bcacc4de0.tar.xz
discoin-1e2c29f2632c378843c5a3c9ad401a7bcacc4de0.zip
prevector: destroy elements only via erase()
Fixes a bug in which pop_back did not call the deleted item's destructor. Using the most general erase() implementation to implement all the others prevents similar bugs because the coupling between deallocation and destructor invocation only needs to be maintained in one place. Also reduces duplication of complex memmove logic.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions