aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/hashmap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/hashmap.h b/common/hashmap.h
index 23103232f7..c597197f1b 100644
--- a/common/hashmap.h
+++ b/common/hashmap.h
@@ -92,9 +92,8 @@ public:
typedef HashMap<Key, Val, HashFunc, EqualFunc> HM_t;
struct Node {
- Key _key;
+ const Key _key;
Val _value;
- Node() {}
Node(const Key &key) : _key(key) {}
};