File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ struct IsTriviallyConstructible {
45
45
#if defined(_LIBCPP_VERSION) || SWIFT_COMPILER_IS_MSVC
46
46
// libc++ and MSVC implement is_trivially_constructible.
47
47
static const bool value = std::is_trivially_constructible<T>::value;
48
- #elif __has_feature(has_trivial_constructor ) || __GNUC__ >= 5
48
+ #elif __has_feature(__is_trivially_constructible ) || __GNUC__ >= 5
49
49
static const bool value = __is_trivially_constructible(T);
50
50
#else
51
51
# error "Not implemented"
@@ -57,7 +57,7 @@ struct IsTriviallyDestructible {
57
57
#if defined(_LIBCPP_VERSION) || SWIFT_COMPILER_IS_MSVC
58
58
// libc++ and MSVC implement is_trivially_destructible.
59
59
static const bool value = std::is_trivially_destructible<T>::value;
60
- #elif __has_feature(has_trivial_destructor ) || __GNUC__ >= 5
60
+ #elif __has_feature(__is_trivially_constructible ) || __GNUC__ >= 5
61
61
static const bool value = __is_trivially_destructible(T);
62
62
#else
63
63
# error "Not implemented"
You can’t perform that action at this time.
0 commit comments