aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/map.h b/common/map.h
index 51e87210ef..ffa54e5994 100644
--- a/common/map.h
+++ b/common/map.h
@@ -33,8 +33,8 @@ protected:
Node *_left, *_right;
Key _key;
Value _value;
- Node() {}
- Node(const Key &key, Node *parent) : _parent(parent), _key(key) {}
+ Node() : _parent(0), _left(0), _right(0) {}
+ Node(const Key &key, Node *parent) : _parent(parent), _left(0), _right(0), _key(key) {}
};
Node *_root;