aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
authorTobias Fella <9750016+TobiasFella@users.noreply.github.com>2021-11-28 20:58:38 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:59 +0100
commit9217026e46d7ac0d761cc5206d7ef00978558c47 (patch)
treee703d58f0fef4559e759511989349fb6051ea7f9 /autotests
parentdcc4556a761f96ae6c71115bf6297feca32581bf (diff)
downloadlibquotient-9217026e46d7ac0d761cc5206d7ef00978558c47.tar.gz
libquotient-9217026e46d7ac0d761cc5206d7ef00978558c47.zip
Apply suggestions from code review
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
Diffstat (limited to 'autotests')
-rw-r--r--autotests/testolmsession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testolmsession.cpp b/autotests/testolmsession.cpp
index 750b804e..00d76d4e 100644
--- a/autotests/testolmsession.cpp
+++ b/autotests/testolmsession.cpp
@@ -30,7 +30,7 @@ std::pair<QOlmSessionPtr, QOlmSessionPtr> createSessionPair()
throw "Wrong first message type received, can't create session";
}
auto inbound = std::get<QOlmSessionPtr>(accountB.createInboundSession(preKey));
- return std::make_pair<QOlmSessionPtr, QOlmSessionPtr>(std::move(inbound), std::move(outbound));
+ return { std::move(inbound), std::move(outbound) };
}
void TestOlmSession::olmOutboundSessionCreation()