diff --git a/common/hashmap.h b/common/hashmap.h index 9d5b6cbf6e8..1ab6bb84a37 100644 --- a/common/hashmap.h +++ b/common/hashmap.h @@ -98,13 +98,11 @@ public: Node(const Key &key) : _key(key), _value() {} }; - Node* allocNode(const Key& key) - { + Node* allocNode(const Key& key) { return new Node(key); } - void freeNode(Node* node) - { + void freeNode(Node* node) { delete node; }