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