Skip to content

Commit 711eb0d

Browse files
committed
Drop constexpr rejected by Visual C++
(cherry picked from commit 5746c11)
1 parent a26f8fb commit 711eb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/ABI/SuppressibleProtocols.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class SuppressibleProtocolSet {
5454
bool empty() const { return bits == 0; }
5555

5656
/// Check whether the set contains the specific suppressible protocol.
57-
constexpr bool contains(SuppressibleProtocolKind kind) const {
57+
bool contains(SuppressibleProtocolKind kind) const {
5858
return bits & getMask(kind);
5959
}
6060

0 commit comments

Comments
 (0)