diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-01-17 21:46:28 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-01-17 21:46:28 +0900 |
commit | c4877e0abaef4570362c8e9cc0203effdc6cb0ee (patch) | |
tree | 1591810ef12ef5b6b43d1dec4331e5a83587c298 /events/event.cpp | |
parent | f37874c7e55239359d02b926a65cd62d17336522 (diff) | |
download | libquotient-c4877e0abaef4570362c8e9cc0203effdc6cb0ee.tar.gz libquotient-c4877e0abaef4570362c8e9cc0203effdc6cb0ee.zip |
Room: Use reverse iterators internally to deal with read markers
Turns out that because the read marker is positioned _after_ the last read message, a reverse iterator models it much better than the usual one. This commit switches the internal representation to reverse iterators (externally, we operate in terms of event id's, still).
Diffstat (limited to 'events/event.cpp')
0 files changed, 0 insertions, 0 deletions