Skip to content

Commit b479db0

Browse files
authored
Merge pull request #26192 from gottesmm/pr-c08ae1abeba47206bc05b6bd5f09f221128960cb
Remove constexpr to satisfy MSVC being what it is.
2 parents a98bfd6 + fc827e6 commit b479db0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/swift/Strings.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ struct BuiltinNameStringLiteral {
5454
const StringLiteral literal;
5555

5656
constexpr operator StringRef() const { return literal; }
57-
constexpr const StringRef getWithoutPrefix() const {
57+
58+
StringRef getWithoutPrefix() const {
5859
return literal.drop_front(BUILTIN_TYPE_NAME_PREFIX.size());
5960
}
6061
};

0 commit comments

Comments
 (0)