forked from OSchip/llvm-project
parent
ed9caee9a8
commit
b411e9ce4d
|
@ -2154,7 +2154,7 @@ class __compressed_pair : private __compressed_pair_elem<_T1, 0>,
|
|||
// is *almost never* used in a scenario where it's possible for T1 == T2.
|
||||
// (The exception is std::function where it is possible that the function
|
||||
// object and the allocator have the same type).
|
||||
static_assert(!is_same<_T1, _T2>::value,
|
||||
static_assert((!is_same<_T1, _T2>::value),
|
||||
"__compressed_pair cannot be instantated when T1 and T2 are the same type; "
|
||||
"The current implementation is NOT ABI-compatible with the previous "
|
||||
"implementation for this configuration");
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <cassert>
|
||||
#include "test_macros.h"
|
||||
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
#if defined(_LIBCPP_VERSION) && TEST_STD_VER >= 11
|
||||
_LIBCPP_SAFE_STATIC std::unique_ptr<int[]> global_static_unique_ptr;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "deleter_types.h"
|
||||
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
#if defined(_LIBCPP_VERSION) && TEST_STD_VER >= 11
|
||||
_LIBCPP_SAFE_STATIC std::unique_ptr<int> global_static_unique_ptr;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue