summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 04:11:47 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-12-25 04:11:47 +0100
commit904cafcd392c498f6f2ee2e7da061b98524857bc (patch)
tree22f33998b08dbce99e4d103d8c93dfa319229eaf /src/timeline
parentUse vs2019 for CI (diff)
downloadnheko-904cafcd392c498f6f2ee2e7da061b98524857bc.tar.xz
lint
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/EventStore.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/timeline/EventStore.h b/src/timeline/EventStore.h

index a71e95d5..c6b39742 100644 --- a/src/timeline/EventStore.h +++ b/src/timeline/EventStore.h
@@ -29,7 +29,8 @@ public: friend uint qHash(const Index &i, uint seed = 0) noexcept { QtPrivate::QHashCombine hash; - seed = hash(seed, QByteArray::fromRawData(i.room.data(), (int)i.room.size())); + seed = + hash(seed, QByteArray::fromRawData(i.room.data(), (int)i.room.size())); seed = hash(seed, i.idx); return seed; } @@ -46,7 +47,8 @@ public: friend uint qHash(const IdIndex &i, uint seed = 0) noexcept { QtPrivate::QHashCombine hash; - seed = hash(seed, QByteArray::fromRawData(i.room.data(), (int)i.room.size())); + seed = + hash(seed, QByteArray::fromRawData(i.room.data(), (int)i.room.size())); seed = hash(seed, QByteArray::fromRawData(i.id.data(), (int)i.id.size())); return seed; }