summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 0030df6..6fd45e6 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -151,7 +151,7 @@ Dictionary::iterator Dictionary::Insert(const std::string& key, Node* node)
_map[key] = clone;
return _map.find(key);
}
- return iterator(NULL);
+ return iterator(this->_map.end());
}
void Dictionary::Remove(Node* node)