mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Anon: remove unnecessary {map,vector}::clear() calls
The destructor will do this automatically.
This commit is contained in:
parent
05f692995d
commit
acdfd5706e
2 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue