Skip to content

Commit aee08b6

Browse files
authored
Update type_traits.h
1 parent 7b06637 commit aee08b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

api/include/opentelemetry/nostd/type_traits.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ using std::is_trivially_move_constructible;
142142
template <typename T>
143143
struct is_trivially_copy_constructible
144144
{
145-
static constexpr bool value = std::is_copy_constructible<T>::value && __is_trivially_assignable(T&, const T&);
145+
static constexpr bool value =
146+
std::is_copy_constructible<T>::value && __is_trivially_assignable(T &, const T &);
146147
};
147148

148149
template <typename T>
@@ -154,7 +155,8 @@ struct is_trivially_move_constructible
154155
template <typename T>
155156
struct is_trivially_copy_assignable
156157
{
157-
static constexpr bool value = std::is_copy_assignable<T>::value && __is_trivially_assignable(T&, const T&);
158+
static constexpr bool value =
159+
std::is_copy_assignable<T>::value && __is_trivially_assignable(T &, const T &);
158160
};
159161

160162
template <typename T>

0 commit comments

Comments
 (0)