mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -47,8 +47,8 @@ void CefDisplay::GetAllDisplays(std::vector<CefRefPtr<CefDisplay>>& displays) {
|
||||
|
||||
using DisplayVector = std::vector<display::Display>;
|
||||
DisplayVector vec = display::Screen::GetScreen()->GetAllDisplays();
|
||||
for (size_t i = 0; i < vec.size(); ++i) {
|
||||
displays.push_back(new CefDisplayImpl(vec[i]));
|
||||
for (const auto& i : vec) {
|
||||
displays.push_back(new CefDisplayImpl(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user