diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-06-10 22:10:48 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-06-10 22:10:48 +0200 |
commit | dcbbb14df8c9a8a146697720874e9425c4b33792 (patch) | |
tree | e58428a794598e0819ec7cd381fca9b90331c1e9 /apt-pkg/indexfile.h | |
parent | d3a869e35503638e3483228fbfc95b7143568ad0 (diff) |
stop using IndexTarget pointers which are never freed
Creating and passing around a bunch of pointers of IndexTargets (and of
a vector of pointers of IndexTargets) is probably done to avoid the
'costly' copy of container, but we are really not in a timecritical
operation here and move semantics will help us even further in the
future. On the other hand we never do a proper cleanup of these
pointers, which is very dirty, even if structures aren't that big…
The changes will effecting many items only effect our own hidden class,
so we can do that without fearing breaking interfaces or anything.
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/indexfile.h')
0 files changed, 0 insertions, 0 deletions