summaryrefslogtreecommitdiff
path: root/src/Dictionary.cpp
diff options
context:
space:
mode:
authorJim Koning <jimkoning@gmail.com>2013-10-29 10:23:15 -0700
committerJim Koning <jimkoning@gmail.com>2013-10-29 10:23:15 -0700
commitc56c8103f51c20c6fcf99e8bc9d83c380f503a1b (patch)
tree2be10c905af99bc6ad220d251f3b38c91eeea0db /src/Dictionary.cpp
parent95d1d0cc91f36ece9da39270cd1ca0536d0cf02d (diff)
downloadlibplist-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.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)