From 3fe750269959d4de71582335a9a28e26b3f5fed1 Mon Sep 17 00:00:00 2001 From: Jonathan Doron Date: Sun, 17 Mar 2019 08:04:25 +0200 Subject: [PATCH] Write the corrected name for unnamed enums --- Source/PDBHeaderReconstructor.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/PDBHeaderReconstructor.cpp b/Source/PDBHeaderReconstructor.cpp index a6b034a..9e8a9e5 100644 --- a/Source/PDBHeaderReconstructor.cpp +++ b/Source/PDBHeaderReconstructor.cpp @@ -118,10 +118,7 @@ PDBHeaderReconstructor::OnEnumTypeBegin( Write("enum"); - if (!PDB::IsUnnamedSymbol(Symbol)) - { - Write(" %s", CorrectedName.c_str()); - } + Write(" %s", CorrectedName.c_str()); Write("\n");