Skip to content

Commit ee3da37

Browse files
nickhcomposerinteralia
authored andcommitted
Use CXX14 to allow constexpr with non-return statements
Co-authored-by: Daniel Colson <composerinteralia@github.com>
1 parent fcb1a49 commit ee3da37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ruby/internal/special_consts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ RB_UNDEF_P(VALUE obj)
192192
}
193193

194194
RBIMPL_ATTR_CONST()
195-
RBIMPL_ATTR_CONSTEXPR(CXX11)
195+
RBIMPL_ATTR_CONSTEXPR(CXX14)
196196
RBIMPL_ATTR_ARTIFICIAL()
197197
/**
198198
* Checks if the given object is nil or undef. Can be used to see if

0 commit comments

Comments
 (0)