refactor: fix clang-tidy auto*, const&, and curly braces (#5083)
This commit is contained in:
@@ -225,7 +225,7 @@ void NotificationController::removeFakeChannel(const QString channelName)
|
||||
|
||||
for (int i = snapshotLength - 1; i >= end; --i)
|
||||
{
|
||||
auto &s = snapshot[i];
|
||||
const auto &s = snapshot[i];
|
||||
|
||||
if (s->messageText == liveMessageSearchText)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user