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

Avoid constructing a string in make_success_code #493

Closed
hkaiser opened this issue Aug 12, 2012 · 0 comments
Closed

Avoid constructing a string in make_success_code #493

hkaiser opened this issue Aug 12, 2012 · 0 comments
Assignees
Milestone

Comments

@hkaiser
Copy link
Member

hkaiser commented Aug 12, 2012

We use make_success_code() all over the place to create an error_code object representing a successful outcome of a function. This currently constructs a std::string (holding "success") which should be avoided as it does not add any information.

@ghost ghost assigned hkaiser Aug 12, 2012
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

No branches or pull requests

1 participant