Replacement of some hot reload's bool flags with enum class flags.

#rb james.hopkin
#jira none

[CL 7247552 by Steve Robb in Dev-Core branch]
This commit is contained in:
Steve Robb
2019-07-09 05:04:42 -04:00
parent 24391711c0
commit d9648532a0
6 changed files with 38 additions and 44 deletions

View File

@@ -289,10 +289,7 @@ FReply SModuleUI::FModuleListItem::OnRecompileClicked()
else
{
// Perform a regular unload, then reload
const bool bReloadAfterRecompile = true;
const bool bForceCodeProject = false;
const bool bFailIfGeneratedCodeChanges = true;
const bool bRecompileSucceeded = HotReloadSupport.RecompileModule(ModuleName, bReloadAfterRecompile, *GLog, bFailIfGeneratedCodeChanges, bForceCodeProject);
const bool bRecompileSucceeded = HotReloadSupport.RecompileModule(ModuleName, *GLog, ERecompileModuleFlags::ReloadAfterRecompile | ERecompileModuleFlags::FailIfGeneratedCodeChanges);
}
}