Skip to content

Commit e0f899c

Browse files
vitalybukamemfrob
authored andcommitted
[NFC] Fix "ambiguous overload for ‘operator=’"
1 parent d07aacc commit e0f899c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Coroutines/CoroFrame.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ struct AllocaUseVisitor : PtrUseVisitor<AllocaUseVisitor> {
954954
} else if (Itr->second.hasValue() && Itr->second.getValue() != Offset) {
955955
// If we have seen two different possible values for this alias, we set
956956
// it to empty.
957-
AliasOffetMap[&I] = {};
957+
AliasOffetMap[&I].reset();
958958
}
959959
}
960960
}

0 commit comments

Comments
 (0)