Skip to content

Commit 932e7d3

Browse files
authored
Merge pull request swiftlang#9048 from rjmccall/fix-release-external-union
2 parents aa696af + 5684996 commit 932e7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/ExternalUnion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class BasicExternalUnion {
7979
public:
8080
/// Construct a union member in-place.
8181
template <class T, class... Args>
82-
T &emplaceWithoutIndex(int index, Args &&... args) {
82+
T &emplaceWithoutIndex(Args &&... args) {
8383
constexpr int typeIndex = indexOf<T, Members...>::value;
8484
static_assert(typeIndex != -1, "type not in union");
8585

0 commit comments

Comments
 (0)