diff options
author | Jim Koning <jimkoning@gmail.com> | 2013-10-29 10:23:15 -0700 |
---|---|---|
committer | Jim Koning <jimkoning@gmail.com> | 2013-10-29 10:23:15 -0700 |
commit | c56c8103f51c20c6fcf99e8bc9d83c380f503a1b (patch) | |
tree | 2be10c905af99bc6ad220d251f3b38c91eeea0db /src/Dictionary.cpp | |
parent | 95d1d0cc91f36ece9da39270cd1ca0536d0cf02d (diff) | |
download | libplist-c56c8103f51c20c6fcf99e8bc9d83c380f503a1b.tar.gz |
fixed mavericks compile problem, return iterator of _map.end() instead of iterator of NULL
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r-- | src/Dictionary.cpp | 2 |
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) |