1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use CXX14 to allow constexpr with non-return statements

Co-authored-by: Daniel Colson <composerinteralia@github.com>
This commit is contained in:
Nick Hengeveld 2022-10-24 22:28:57 +00:00 committed by John Hawthorn
parent fcb1a49812
commit ee3da3784e
Notes: git 2022-10-24 23:48:01 +00:00

View file

@ -192,7 +192,7 @@ RB_UNDEF_P(VALUE obj)
}
RBIMPL_ATTR_CONST()
RBIMPL_ATTR_CONSTEXPR(CXX11)
RBIMPL_ATTR_CONSTEXPR(CXX14)
RBIMPL_ATTR_ARTIFICIAL()
/**
* Checks if the given object is nil or undef. Can be used to see if