Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor netplay server cleanup #437

Merged
merged 2 commits into from Jun 7, 2014
Merged

Conversation

lioncash
Copy link
Member

Gets rid of a delete[] and compresses a for loop.

We just use a vector instead of a raw pointer.
i = m_players.rbegin(),
e = m_players.rend();
for ( ; i!=e; ++i)
for (auto i = m_players.rbegin(); i != m_players.rend(); ++i)

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Also gets rid of a redundant return from a void function.
@lioncash
Copy link
Member Author

Changed the reverse iteration into a normal iteration.

@Tilka
Copy link
Member

Tilka commented Jun 5, 2014

lgtm

Sonicadvance1 added a commit that referenced this pull request Jun 7, 2014
Minor netplay server cleanup
@Sonicadvance1 Sonicadvance1 merged commit b591184 into dolphin-emu:master Jun 7, 2014
@lioncash lioncash deleted the netplay branch June 7, 2014 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants