summary refs log tree commit diff
path: root/src/timeline/EventStore.h
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2021-01-11 20:22:57 -0500
committerJoseph Donofry <joedonofry@gmail.com>2021-01-11 20:22:57 -0500
commita8877c39f40d805213f8805b3467d3d0ac165350 (patch)
treeda62c02c28f32d3288ffa62846893db7beb1f839 /src/timeline/EventStore.h
parentAdd ripple to completer (diff)
parentMerge pull request #373 from Nheko-Reborn/misc-fixes (diff)
downloadnheko-a8877c39f40d805213f8805b3467d3d0ac165350.tar.xz
Merge branch 'master' of ssh://github.com/Nheko-Reborn/nheko
Diffstat (limited to 'src/timeline/EventStore.h')
-rw-r--r--src/timeline/EventStore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/EventStore.h b/src/timeline/EventStore.h

index c6b39742..f8eff9a9 100644 --- a/src/timeline/EventStore.h +++ b/src/timeline/EventStore.h
@@ -74,7 +74,7 @@ public: int size() const { - return last != std::numeric_limits<uint64_t>::max() + return (last != std::numeric_limits<uint64_t>::max() && last >= first) ? static_cast<int>(last - first) + 1 : 0; }