fix(miscellaneous): fix unreachable indicator function will return
This commit is contained in:
parent
5a5d34e908
commit
edc6c1924a
@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "AssertionMacros.h"
|
||||
#include "CoreTypes.h"
|
||||
|
||||
#include <cstdlib>
|
||||
@ -84,6 +85,10 @@ NORETURN FORCEINLINE void Unreachable()
|
||||
{
|
||||
NAMESPACE_STD::unreachable();
|
||||
}
|
||||
# else
|
||||
{
|
||||
Abort();
|
||||
}
|
||||
# endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user