ci: Use clang-format 16 (#4929)

This commit is contained in:
pajlada
2023-10-31 18:24:47 +01:00
committed by GitHub
parent f4726ed7a8
commit 56346874e1
7 changed files with 16 additions and 11 deletions
+2 -2
View File
@@ -189,8 +189,8 @@ QString HotkeyController::categoryName(HotkeyCategory category) const
return categoryData.name;
}
const std::map<HotkeyCategory, HotkeyCategoryData>
&HotkeyController::categories() const
const std::map<HotkeyCategory, HotkeyCategoryData> &
HotkeyController::categories() const
{
return this->hotkeyCategories_;
}
+2 -2
View File
@@ -81,8 +81,8 @@ public:
/**
* @returns a const map with the HotkeyCategory enum as its key, and HotkeyCategoryData as the value.
**/
[[nodiscard]] const std::map<HotkeyCategory, HotkeyCategoryData>
&categories() const;
[[nodiscard]] const std::map<HotkeyCategory, HotkeyCategoryData> &
categories() const;
pajlada::Signals::NoArgSignal onItemsUpdated;
+2 -2
View File
@@ -1251,8 +1251,8 @@ void TwitchChannel::addReplyThread(const std::shared_ptr<MessageThread> &thread)
this->threads_[thread->rootId()] = thread;
}
const std::unordered_map<QString, std::weak_ptr<MessageThread>>
&TwitchChannel::threads() const
const std::unordered_map<QString, std::weak_ptr<MessageThread>> &
TwitchChannel::threads() const
{
return this->threads_;
}
+2 -2
View File
@@ -973,8 +973,8 @@ qreal SplitContainer::Node::getVerticalFlex() const
return this->flexV_;
}
const std::vector<std::unique_ptr<SplitContainer::Node>>
&SplitContainer::Node::getChildren()
const std::vector<std::unique_ptr<SplitContainer::Node>> &
SplitContainer::Node::getChildren()
{
return this->children_;
}