Commit c56c8103 authored by Jim Koning's avatar Jim Koning

fixed mavericks compile problem, return iterator of _map.end() instead of iterator of NULL

parent 95d1d0cc
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment