Anon: remove unnecessary {map,vector}::clear() calls

The destructor will do this automatically.
This commit is contained in:
Max Kellermann 2020-02-02 16:48:18 +01:00
parent 05f692995d
commit acdfd5706e
2 changed files with 1 additions and 3 deletions

View file

@ -40,7 +40,7 @@ typedef uint32_t ipaddr32_t;
class AnonymizeIPAddr {
public:
virtual ~AnonymizeIPAddr() { mapping.clear(); }
virtual ~AnonymizeIPAddr() = default;
ipaddr32_t Anonymize(ipaddr32_t addr);