Skip to content

Commit

Permalink
Write the corrected name for unnamed enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Doron authored and wbenny committed Apr 9, 2019
1 parent 8e3b730 commit 3fe7502
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/PDBHeaderReconstructor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@ PDBHeaderReconstructor::OnEnumTypeBegin(

Write("enum");

if (!PDB::IsUnnamedSymbol(Symbol))
{
Write(" %s", CorrectedName.c_str());
}
Write(" %s", CorrectedName.c_str());

Write("\n");

Expand Down

0 comments on commit 3fe7502

Please sign in to comment.