*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:
@@ -39,6 +39,6 @@ class MapRefManager : public RefManager<Map, Player>
|
|||||||
iterator rbegin() { return iterator(getLast()); }
|
iterator rbegin() { return iterator(getLast()); }
|
||||||
iterator rend() { return iterator(NULL); }
|
iterator rend() { return iterator(NULL); }
|
||||||
const_iterator begin() const { return const_iterator(getFirst()); }
|
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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user