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

Make NTSTATUS::ok a const fn #1542

Merged
merged 1 commit into from Feb 16, 2022
Merged

Make NTSTATUS::ok a const fn #1542

merged 1 commit into from Feb 16, 2022

Conversation

roblabla
Copy link
Contributor

is_ok, to_hresult and fast_error are all const fn, so ok should be a fine candidate for const-ification.

Copy link
Collaborator

@kennykerr kennykerr left a comment

Choose a reason for hiding this comment

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

Thanks!

@kennykerr kennykerr merged commit 343c546 into microsoft:master Feb 16, 2022
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.

None yet

2 participants