summary refs log tree commit diff
path: root/src/timeline/EventStore.h
diff options
context:
space:
mode:
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; }