diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-24 19:48:47 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-03-24 19:49:10 +0100 |
commit | d7c10ae90417fcbb7f81edd4e40d89e91436244b (patch) | |
tree | 31389a14115897514d4f788010f489fcf888b9df /src | |
parent | Merge pull request #1430 from tastytea/fix-imagepack-texts (diff) | |
download | nheko-d7c10ae90417fcbb7f81edd4e40d89e91436244b.tar.xz |
Fix explicit optional construction on gcc13
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/EventStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp index 3c214dcb..dd0e920d 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp @@ -650,7 +650,7 @@ EventStore::get(int idx, bool decrypt) if (edits_.empty()) event = cache::client()->getEvent(room_id_, *event_id); else - event = {edits_.back()}; + event = mtx::events::collections::TimelineEvent{edits_.back()}; if (!event) return nullptr; |