Skip to content

Commit 78ec84f

Browse files
committed
RecordInfo::Bases should not be merged twice
1 parent feb8284 commit 78ec84f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/Metadata/Reduce.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ void merge(RecordInfo& I, RecordInfo&& Other)
155155
I.Members = std::move(Other.Members);
156156
if (I.Bases.empty())
157157
I.Bases = std::move(Other.Bases);
158-
if( I.Bases.empty())
159-
I.Bases = std::move(Other.Bases);
160158
// Reduce children if necessary.
161159
reduceMemberRefs(I.Children_.Records, std::move(Other.Children_.Records));
162160
reduceMemberRefs(I.Children_.Functions, std::move(Other.Children_.Functions));

0 commit comments

Comments
 (0)