refactor: fix clang-tidy auto*, const&, and curly braces (#5083)
This commit is contained in:
@@ -22,7 +22,7 @@ AccountController::AccountController()
|
||||
this->twitch.accounts.itemRemoved.connect([this](const auto &args) {
|
||||
if (args.caller != this)
|
||||
{
|
||||
auto &accs = this->twitch.accounts.raw();
|
||||
const auto &accs = this->twitch.accounts.raw();
|
||||
auto it = std::find(accs.begin(), accs.end(), args.item);
|
||||
assert(it != accs.end());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user