From c56c8103f51c20c6fcf99e8bc9d83c380f503a1b Mon Sep 17 00:00:00 2001 From: Jim Koning Date: Tue, 29 Oct 2013 10:23:15 -0700 Subject: fixed mavericks compile problem, return iterator of _map.end() instead of iterator of NULL --- src/Dictionary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.1-32-gdbae