mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
clang fix
This commit is contained in:
parent
d21afe4910
commit
4efe3cf17c
|
@ -319,7 +319,7 @@ public:
|
|||
|
||||
// U_INTERNAL_ASSERT_RANGE(2,_length,_capacity)
|
||||
|
||||
# ifdef U_STDCPP_ENABLE
|
||||
# if defined(U_STDCPP_ENABLE) && (!defined(__clang__) || CLANG_VERSION_NUM != 30700)
|
||||
std::sort(vec, vec+_length, compare_obj);
|
||||
# else
|
||||
U_SYSCALL_VOID(qsort, "%p,%u,%d,%p", (void*)vec, _length, sizeof(void*), compare_obj);
|
||||
|
|
Loading…
Reference in New Issue
Block a user