Skip to content

[Runtime] Change ResultCode to an enum class #2278

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

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

nickgg
Copy link
Contributor

@nickgg nickgg commented Jan 17, 2019

Description: Make ResultCode a class to not pollute the Runtime namespace.
Testing: unittests
Documentation: This was a review comment from @bertmaher which I now realized I forgot to do, sorry Bert.

Copy link
Contributor

@jackm321 jackm321 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@nickgg nickgg merged commit e50bb37 into pytorch:master Jan 17, 2019
@nickgg nickgg deleted the resultCode branch February 5, 2019 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants