refactor: chromium-style warnings in linux code (#12949)

This commit is contained in:
Jeremy Apthorp 2018-05-16 12:12:45 -07:00 committed by Charles Kerr
parent 2a161e1725
commit da0fd10423
21 changed files with 41 additions and 36 deletions

View file

@ -61,7 +61,7 @@ bool SetDefaultWebClient(const std::string& protocol) {
void Browser::Focus() {
// Focus on the first visible window.
for (const auto& window : WindowList::GetWindows()) {
for (auto* const window : WindowList::GetWindows()) {
if (window->IsVisible()) {
window->Focus(true);
break;