diff options
| author | 2013-10-29 10:23:15 -0700 | |
|---|---|---|
| committer | 2013-10-29 10:23:15 -0700 | |
| commit | c56c8103f51c20c6fcf99e8bc9d83c380f503a1b (patch) | |
| tree | 2be10c905af99bc6ad220d251f3b38c91eeea0db /src | |
| parent | 95d1d0cc91f36ece9da39270cd1ca0536d0cf02d (diff) | |
| download | libplist-c56c8103f51c20c6fcf99e8bc9d83c380f503a1b.tar.gz libplist-c56c8103f51c20c6fcf99e8bc9d83c380f503a1b.tar.bz2 | |
fixed mavericks compile problem, return iterator of _map.end() instead of iterator of NULL
Diffstat (limited to 'src')
| -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) | |||
| 151 | _map[key] = clone; | 151 | _map[key] = clone; |
| 152 | return _map.find(key); | 152 | return _map.find(key); |
| 153 | } | 153 | } |
| 154 | return iterator(NULL); | 154 | return iterator(this->_map.end()); |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | void Dictionary::Remove(Node* node) | 157 | void Dictionary::Remove(Node* node) |
