summaryrefslogtreecommitdiff
path: root/apt-pkg/clean.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-03-06 14:44:53 +0100
committerJulian Andres Klode <jak@debian.org>2016-03-06 14:57:41 +0100
commit9e7f83533665c03b52dff5809e7ebd93928ea445 (patch)
tree51263d7a81e53b27b58c026e51b2ac1777a05ad4 /apt-pkg/clean.cc
parentdfcf7f356b790338f0a3e9df3c5d6f159814fe53 (diff)
Prevent double remapping of iterators and string views
If an iterator or a stringview has multiple dynamic objects registered with it, it may be remapped twice. Prevent that by noting which iterators/views we have seen and not remapping one if we have already seen it. We most likely do not have any instance of multiple dynamics on a single object, but let's play safe - the overhead is not high.
Diffstat (limited to 'apt-pkg/clean.cc')
0 files changed, 0 insertions, 0 deletions