]> git.ipfire.org Git - thirdparty/pdns.git/commit
Cleanup cache cleaner pruneCollection function 9236/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 16 Jun 2020 11:56:57 +0000 (13:56 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 16 Jun 2020 12:10:35 +0000 (14:10 +0200)
commit36d8db254dbe8a8d2146764ef64e7868b62a0acf
treeda2ad38dc195523b084c441e9c22c4da3a784217
parente033b0765d9ae5f364e8975fb643afa38b170cb9
Cleanup cache cleaner pruneCollection function
- use size_t instead of unsigned int for sizes
- const correctness
- layout
- simplify seond loop and use return value of erase(), it points to the next value
pdns/cachecleaner.hh
pdns/recpacketcache.cc
pdns/recpacketcache.hh
pdns/recursordist/negcache.cc
pdns/recursordist/negcache.hh