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

Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert #36385

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

kuruk-mm
Copy link
Contributor

In #36368 reduz said we can change some on those.

I found 4, I didn't find more.

@bojidar-bg
Copy link
Contributor

(just a random idea) Maybe this could become ERR_STATIC_COND, so that the string does not have to be repeated?

@kuruk-mm
Copy link
Contributor Author

(just a random idea) Maybe this could become ERR_STATIC_COND, so that the string does not have to be repeated?

Maybe, but I would let this way if someone want to put an advice

@kuruk-mm kuruk-mm force-pushed the some_static_asserts branch from 8cdeb6b to cec015f Compare February 24, 2020 13:14
@kuruk-mm kuruk-mm force-pushed the some_static_asserts branch from cec015f to a5a6edf Compare March 4, 2020 01:06
@kuruk-mm kuruk-mm force-pushed the some_static_asserts branch from a5a6edf to c933eb7 Compare March 4, 2020 07:47
@akien-mga akien-mga merged commit 2856740 into godotengine:master Mar 4, 2020
@akien-mga
Copy link
Member

Thanks!

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.

5 participants