summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-12-14 17:08:36 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2019-12-14 18:59:38 +0100
commit659e36b113158ba9870e201dab7098888bf9d275 (patch)
tree1c8bf23cc0554c63a6bb7f4214348325330f781f /src/timeline/TimelineViewManager.cpp
parentClear appveyor cache (diff)
downloadnheko-659e36b113158ba9870e201dab7098888bf9d275.tar.xz
Update to c++17
Diffstat (limited to 'src/timeline/TimelineViewManager.cpp')
-rw-r--r--src/timeline/TimelineViewManager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index 6e18d111..74e09a33 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -222,7 +222,7 @@ TimelineViewManager::queueEmoteMessage(const QString &msg) void TimelineViewManager::queueImageMessage(const QString &roomid, const QString &filename, - const boost::optional<mtx::crypto::EncryptedFile> &file, + const std::optional<mtx::crypto::EncryptedFile> &file, const QString &url, const QString &mime, uint64_t dsize, @@ -243,7 +243,7 @@ void TimelineViewManager::queueFileMessage( const QString &roomid, const QString &filename, - const boost::optional<mtx::crypto::EncryptedFile> &encryptedFile, + const std::optional<mtx::crypto::EncryptedFile> &encryptedFile, const QString &url, const QString &mime, uint64_t dsize) @@ -260,7 +260,7 @@ TimelineViewManager::queueFileMessage( void TimelineViewManager::queueAudioMessage(const QString &roomid, const QString &filename, - const boost::optional<mtx::crypto::EncryptedFile> &file, + const std::optional<mtx::crypto::EncryptedFile> &file, const QString &url, const QString &mime, uint64_t dsize) @@ -277,7 +277,7 @@ TimelineViewManager::queueAudioMessage(const QString &roomid, void TimelineViewManager::queueVideoMessage(const QString &roomid, const QString &filename, - const boost::optional<mtx::crypto::EncryptedFile> &file, + const std::optional<mtx::crypto::EncryptedFile> &file, const QString &url, const QString &mime, uint64_t dsize)