diff options
author | Nick Hengeveld <nickh@github.com> | 2022-10-24 22:28:57 +0000 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2022-10-24 16:47:42 -0700 |
commit | ee3da3784e13c9f5164206a373d14d3f7aa9d245 (patch) | |
tree | a24e6c10212574969ae2959d2a3fbd05b362ff0a | |
parent | fcb1a49812f311f2060e203222446dcad766ad84 (diff) |
Use CXX14 to allow constexpr with non-return statements
Co-authored-by: Daniel Colson <composerinteralia@github.com>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6626
-rw-r--r-- | include/ruby/internal/special_consts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/special_consts.h b/include/ruby/internal/special_consts.h index 6943ef9b94..ed2428e087 100644 --- a/include/ruby/internal/special_consts.h +++ b/include/ruby/internal/special_consts.h @@ -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 |