File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
api/include/opentelemetry/nostd Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ using std::is_trivially_move_constructible;
142142template <typename T>
143143struct is_trivially_copy_constructible
144144{
145- static constexpr bool value = std::is_copy_constructible<T>::value && __has_trivial_copy(T );
145+ static constexpr bool value = std::is_copy_constructible<T>::value && __is_trivially_assignable(T&, const T& );
146146};
147147
148148template <typename T>
@@ -154,7 +154,7 @@ struct is_trivially_move_constructible
154154template <typename T>
155155struct is_trivially_copy_assignable
156156{
157- static constexpr bool value = std::is_copy_assignable<T>::value && __has_trivial_assign(T );
157+ static constexpr bool value = std::is_copy_assignable<T>::value && && __is_trivially_assignable(T&, const T& );
158158};
159159
160160template <typename T>
You can’t perform that action at this time.
0 commit comments