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

Kill off some usages of c_str. #164

Merged
merged 1 commit into from Mar 14, 2014
Merged

Conversation

lioncash
Copy link
Member

Also changes some function params, but this is ok.
Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).

Please point out anything wrong found :)

std::string TMessage = StringFromFormat("%s | ", scm_rev_str) +
SMessage;
std::string SMessage = StringFromFormat("%s | %s", SSettings.c_str(), SFPS.c_str());
std::string TMessage = StringFromFormat("%s | ", scm_rev_str) + SMessage;

This comment was marked as off-topic.

Also changes some function params, but this is ok.
Some simplifications were also able to be made (ie. killing off strcmps with ==, etc).
@BhaaLseN
Copy link
Member

LGTM

delroth added a commit that referenced this pull request Mar 14, 2014
Kill off some usages of c_str.
@delroth delroth merged commit 8d679e7 into dolphin-emu:master Mar 14, 2014
@lioncash lioncash deleted the cstr-cull branch March 14, 2014 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants