clang-tidy: use std::move where applicable (#2605)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Yoitsu
2021-04-10 15:34:40 +03:00
committed by GitHub
parent b0fee78f2b
commit 00ccdbc781
20 changed files with 39 additions and 38 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ StreamView::StreamView(ChannelPtr channel, const QUrl &url)
auto chat = layoutCreator.emplace<ChannelView>();
chat->setFixedWidth(300);
chat->setChannel(channel);
chat->setChannel(std::move(channel));
this->layout()->setSpacing(0);
this->layout()->setMargin(0);