MSVC doesn't like a definition in a for() loop.