Skip to content

Commit 2c5394f

Browse files
vitalybukamemfrob
authored andcommitted
[NFC] Fix "ambiguous overload for ‘operator=’"
From D89768
1 parent e1dc3d4 commit 2c5394f

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
@@ -946,7 +946,7 @@ struct AllocaUseVisitor : PtrUseVisitor<AllocaUseVisitor> {
946946
return;
947947

948948
if (!IsOffsetKnown) {
949-
AliasOffetMap[&I] = {};
949+
AliasOffetMap[&I].reset();
950950
} else {
951951
auto Itr = AliasOffetMap.find(&I);
952952
if (Itr == AliasOffetMap.end()) {

0 commit comments

Comments
 (0)