Skip to content

Commit f525a67

Browse files
committed
std::abort
1 parent aa99551 commit f525a67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/jni/functions.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <jni/arraylike.hpp>
99

1010
#include <type_traits>
11+
#include <cstdlib>
1112

1213
namespace jni
1314
{
@@ -109,7 +110,7 @@ namespace jni
109110
[[noreturn]] inline void FatalError(JNIEnv& env, const char* msg)
110111
{
111112
env.FatalError(msg);
112-
abort();
113+
std::abort();
113114
}
114115

115116

0 commit comments

Comments
 (0)