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

Use std::string instead destructed char* #2

Merged
merged 3 commits into from
Jan 21, 2017
Merged

Conversation

nacnudus
Copy link
Contributor

Thank you very much for making this package available.

This pull request fixes a problem with the value of getPrintableString being empty by the the time it is sent to cout. I think it is undefined behaviour related to http://stackoverflow.com/a/22330320/937932.

@lishen2 lishen2 merged commit 8cd41b1 into lishen2:master Jan 21, 2017
@lishen2
Copy link
Owner

lishen2 commented Jan 21, 2017

Glad it can be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants