aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hashmap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index 9d5b6cbf6e..1ab6bb84a3 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;
}