You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.
msg2str is needlessly complicated. Use the std::string::assign has an overloaded instance that takes a char * and size_t. While you are there, consider changing the API to pass references instead of pointers. Or, at least check for NULL before doing anything.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
msg2str is needlessly complicated. Use the std::string::assign has an overloaded instance that takes a char * and size_t. While you are there, consider changing the API to pass references instead of pointers. Or, at least check for NULL before doing anything.
The text was updated successfully, but these errors were encountered: