fatal: Standardize result definitions

This commit is contained in:
Michael Scire
2019-03-28 15:37:50 -07:00
parent b940f61d42
commit 285feba42b
6 changed files with 6 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ static bool g_thrown = false;
static Result SetThrown() {
/* This should be fine, since fatal only has a single IPC thread. */
if (g_thrown) {
return FatalResult_AlreadyThrown;
return ResultFatalAlreadyThrown;
}
g_thrown = true;