Commit 6c97447e authored by Olivier Blin's avatar Olivier Blin Committed by Olivier Blin
Browse files

Use Qt foreach instead of C++11 specific range-base for loop


To fix build with compilers without C++11 support.

Change-Id: If5a5d5d874b196f60bcc5b7bd5a543b58f9c89a3
Reviewed-by: default avatarAndy Nichols <andy.nichols@theqtcompany.com>
parent 9641788a
No related merge requests found
Showing with 1 addition and 1 deletion
......@@ -105,7 +105,7 @@ void QWaylandCompositor::sendFrameCallbacks(QList<QWaylandSurface *> visibleSurf
void QWaylandCompositor::frameStarted()
{
for (QtWayland::Surface *surf: m_compositor->surfaces())
foreach (QtWayland::Surface *surf, m_compositor->surfaces())
surf->frameStarted();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment