Explicit 'auto i' to 'unsigned int i'.
Use emplace_back.