diff options
Diffstat (limited to 'source/Host/posix/HostThreadPosix.cpp')
-rw-r--r-- | source/Host/posix/HostThreadPosix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Host/posix/HostThreadPosix.cpp b/source/Host/posix/HostThreadPosix.cpp index 0f4434d25e2eb..71abb76dc600b 100644 --- a/source/Host/posix/HostThreadPosix.cpp +++ b/source/Host/posix/HostThreadPosix.cpp @@ -43,7 +43,7 @@ Status HostThreadPosix::Cancel() { if (IsJoinable()) { #ifndef __ANDROID__ #ifndef __FreeBSD__ - assert(false && "someone is calling HostThread::Cancel()"); + llvm_unreachable("someone is calling HostThread::Cancel()"); #endif int err = ::pthread_cancel(m_thread); error.SetError(err, eErrorTypePOSIX); |