Run code through clang-modernize -loop-convert to create range-based for loops, and manually fix some stuff up.

This commit is contained in:
comex committed 2013-11-03 20:54:01 -05:00
1 parent 00fe5057f1
commit 965b32be9c
90 files changed
+688 -739

No files matched your search

@@ -50,11 +50,11 @@ void VideoBackend::PopulateList()
#endif
g_available_video_backends.push_back(backends[3] = new SW::VideoSoftware);
for (int i = 0; i < 4; ++i)
for (auto& backend : backends)
{
if (backends[i])
if (backend)
{
s_default_backend = g_video_backend = backends[i];
s_default_backend = g_video_backend = backend;
break;
}
}