We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa696af + 5684996 commit 932e7d3Copy full SHA for 932e7d3
include/swift/Basic/ExternalUnion.h
@@ -79,7 +79,7 @@ class BasicExternalUnion {
79
public:
80
/// Construct a union member in-place.
81
template <class T, class... Args>
82
- T &emplaceWithoutIndex(int index, Args &&... args) {
+ T &emplaceWithoutIndex(Args &&... args) {
83
constexpr int typeIndex = indexOf<T, Members...>::value;
84
static_assert(typeIndex != -1, "type not in union");
85
0 commit comments