Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
clang fix
  • Loading branch information
stefanocasazza committed Mar 23, 2017
1 parent d21afe4 commit 4efe3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ulib/container/vector.h
Expand Up @@ -319,7 +319,7 @@ template <> class U_EXPORT UVector<void*> {

// 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);
Expand Down

0 comments on commit 4efe3cf

Please sign in to comment.