diff options
Diffstat (limited to 'STL/tree.h')
-rw-r--r-- | STL/tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/STL/tree.h b/STL/tree.h index dc91484b535..738223f2fbf 100644 --- a/STL/tree.h +++ b/STL/tree.h @@ -207,7 +207,7 @@ public: /* * Changed by Terris */ - iterator() { NIL = NULL; } + iterator() { NIL = (link_type) NULL; } bool operator==(const iterator& y) const { return node == y.node; } reference operator*() const { return value(node); } iterator& operator++() { @@ -281,7 +281,7 @@ public: /* * Changed by Terris */ - const_iterator() { NIL = NULL; } + const_iterator() { NIL = (link_type) NULL; } /* * Changed by Terris */ |