summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Hengeveld <nickh@github.com>2022-10-24 22:28:57 +0000
committerJohn Hawthorn <john@hawthorn.email>2022-10-24 16:47:42 -0700
commitee3da3784e13c9f5164206a373d14d3f7aa9d245 (patch)
treea24e6c10212574969ae2959d2a3fbd05b362ff0a /include
parentfcb1a49812f311f2060e203222446dcad766ad84 (diff)
downloadruby-ee3da3784e13c9f5164206a373d14d3f7aa9d245.tar.gz
Use CXX14 to allow constexpr with non-return statements
Co-authored-by: Daniel Colson <composerinteralia@github.com>
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/special_consts.h2
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