*Fix the bug that mapref.end() does not point to the end. Thank BroodWyrm for pointing out the mistake.

(PS: I have tried all three kinds of EOL, and HG always modifies the whole file. I really do not know what I can do with it.)

--HG--
branch : trunk
This commit is contained in:
megamage
2008-11-28 17:53:56 -06:00
parent dd77520fd8
commit c1b6565e53
+1 -1
View File
@@ -39,6 +39,6 @@ class MapRefManager : public RefManager<Map, Player>
iterator rbegin() { return iterator(getLast()); }
iterator rend() { return iterator(NULL); }
const_iterator begin() const { return const_iterator(getFirst()); }
const_iterator end() const { return const_iterator(getLast()); }
const_iterator end() const { return const_iterator(NULL); }
};
#endif